Error when using non ascii characters like the accent mark in spanish

14 views
Skip to first unread message

aoioka...@gmail.com

unread,
Mar 8, 2017, 8:44:15 AM3/8/17
to JavaScriptSpellCheck
03/2017 Still no solution for non ASCII characters, the accent mark is important in many languages, you should work it all with utf-8 encoding or verify that all comparisons are made considering unicode characters.

When you type "conversación"
It becomes underlined and the context menu suggests conversaci�n

I think that the parsing of the dictionary files fails cause they are loaded with an incorrect encoding. Then the comparison between "conversación" and "conversaci�n" fails and then the dictionary suggest the wrong encoded word

Verify that please, there are 3 posts about it and still no solutions.

aoioka...@gmail.com

unread,
Mar 13, 2017, 11:04:43 AM3/13/17
to JavaScriptSpellCheck, aoioka...@gmail.com
I solved this, but I don't know which of my changes was the responsible of the success.

First: The .dic files are downloaded with ascii encode, then I changed this with my code editor by saving with utf-8 encoding.

Second: I include the include.js file with charset="utf-8"

I'm not sure why I couldn't test with success until today but I suppose that you'll need to restart your web server and clean the browser cache after doing the two changes. I probe it with an ASP MVC application and it worked for me

Reply all
Reply to author
Forward
0 new messages