mhulden / foma

Automatically exported from code.google.com/p/foma
115 stars 90 forks source link

Fix some problems with JavaScript output #156

Open dhdaines opened 4 months ago

dhdaines commented 4 months ago

foma2js.py thought that symbols was a list but it is actually a dict, so there were always 2 symbols missing from the end of the list. This might be the reason for #144 .

Also handle surrogate pairs properly in both the Python and Perl versions.

Add a test too!

dhdaines commented 3 months ago

Fixes #155