Open dhdaines opened 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 .
symbols
list
dict
Also handle surrogate pairs properly in both the Python and Perl versions.
Add a test too!
Fixes #155
foma2js.py thought that
symbols
was alist
but it is actually adict
, 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!