help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a way to "asciify" a string?


From: Eli Zaretskii
Subject: Re: Is there a way to "asciify" a string?
Date: Sun, 27 May 2018 19:00:19 +0300

> From: Marcin Borkowski <mbork@mbork.pl>
> Date: Sun, 27 May 2018 08:22:20 +0200
> 
> I want to convert e.g. "żółć" to "zolc", or "Poincaré" to "Poincare"
> etc.  IOW, I want to replace all these funny Unicode accented characters
> with their ASCII equivalents.
> 
> Is there anything for that in Emacs?

Yes, use ucs-normalize.el functionality to decompose accented
characters, and then remove all the characters that aren't ASCII.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]