fxmontigny / ng2-ace-editor

Ace editor integration with typescript for angular 4 - 5
MIT License
199 stars 93 forks source link

ng2-ace-editor doesn't display Cyrillic #98

Open maltekosian opened 6 years ago

maltekosian commented 6 years ago

If the input or the file contains Cyrillic letters, this is not displayed correctly. What can I do? Using version 0.3.1 because of angular 4 clipboard01

MarcusRiemer commented 6 years ago

Have you ensured that you don't have the same issue with the non-Angular version? You could check this in their demo.

maltekosian commented 6 years ago

clipboard01 Yes, here is the screenshot - in the non-Angular version everything works fine, because the charset is set to utf-8 for the script

MarcusRiemer commented 6 years ago

I could not replicate the issue in my instance of ng2-ace-editor (but I am running Angular 6 and the most recent version). This is probably not really helpful, but it might at least tell you that with a more recent version the error might just go away. To get some appropriate letters I simply copied some of them from Wikipedia and pasted them into an instance of my editor:

screenshot_20180724_181242