Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with accentuated caracters #1303

Closed
hadrienl opened this issue Mar 14, 2013 · 1 comment
Closed

Problem with accentuated caracters #1303

hadrienl opened this issue Mar 14, 2013 · 1 comment

Comments

@hadrienl
Copy link

Hi,

I've found a problem when editor contains accentuated caracters. You can reproduce the bug by pasting this content in demo (http://ace.ajax.org/#nav=about) or in master branch :

<p style="text-align: justify;"><strong><a href="http://img.over-blog-kiwi.com/0/49/38/69/201303/ob_2cb56ca723b0d7716f78a7d78a5454c2_arton278-jpg.jpeg" rel="attachment wp-att-5689"><img class="alignleft size-full wp-image-5689" title="musée" src="http://davidabiker.fr/wordpress/wp-content/uploads/2012/08/musée.jpg" alt="" width="85" height="144" /></a>Le Musée de l'homme, Michalon, 2005. Existe en poche Folio Gallimard. <em></em></strong></p>

Then, place your cursor after the word "musée" (in "title="musée"") and type some caracters. The caracter will be shifted one position before. Then, if you try again but after the second word "Musée" (in "Le Musée de l'homme"), then it will re work fine.
And if you remove the first word "musée" by selecting it and backspacing, then it re work fine too.

Thanks.

@nightwing
Copy link
Member

Currently ace only works for monospace fonts, and doen't (Combining characters)[http://en.wikipedia.org/wiki/Combining_character] are not recognized.
Merging this into #460

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants