Re: [Lazarus] Replacing accented letters

2017-10-13 Thread Ondrej Pokorny via Lazarus
On 13.10.2017 15:32, Koenraad Lelong via Lazarus wrote: Op 11-10-17 om 17:45 schreef Ondrej Pokorny via Lazarus: On 11.10.2017 17:31, Koenraad Lelong via Lazarus wrote: Software is intended for Windows. In this case you may use WinAPI as well: https://stackoverflow.com/a/1892432/1231269 On

Re: [Lazarus] Replacing accented letters

2017-10-13 Thread Koenraad Lelong via Lazarus
Op 11-10-17 om 17:45 schreef Ondrej Pokorny via Lazarus: On 11.10.2017 17:31, Koenraad Lelong via Lazarus wrote: Software is intended for Windows. In this case you may use WinAPI as well: https://stackoverflow.com/a/1892432/1231269 Ondrej Hi Ondrej, On that page there are two pieces of c

Re: [Lazarus] Replacing accented letters

2017-10-11 Thread Ondrej Pokorny via Lazarus
On 11.10.2017 17:31, Koenraad Lelong via Lazarus wrote: Software is intended for Windows. In this case you may use WinAPI as well: https://stackoverflow.com/a/1892432/1231269 Ondrej -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://

Re: [Lazarus] Replacing accented letters

2017-10-11 Thread Koenraad Lelong via Lazarus
Op 05-10-17 om 00:29 schreef Zbyněk Fiala via Lazarus: I needed it a long time ago and probably there is more simple way now. Using utf8tools and LazUTF8: https://gist.github.com/zbyna/6d9cd98ca22fa4261f54a0a06a7e6f51 Dne 4.10.2017 v 18:19 Denis Kozlov via Lazarus napsal(a): You could use Uni

Re: [Lazarus] Replacing accented letters

2017-10-04 Thread Zbyněk Fiala via Lazarus
I needed it a long time ago and probably there is more simple way now. Using utf8tools and LazUTF8:  https://gist.github.com/zbyna/6d9cd98ca22fa4261f54a0a06a7e6f51 Dne 4.10.2017 v 18:19 Denis Kozlov via Lazarus napsal(a): > You could use Unicode character decomposition. > > For example, é (U+00E

Re: [Lazarus] Replacing accented letters

2017-10-04 Thread Denis Kozlov via Lazarus
You could use Unicode character decomposition. For example, é (U+00E9) can be decomposed into an equivalent string of the base letter e (U+0065) and combining acute accent (U+0301). Then, you could simply delete combining acute accents, leaving just the base letters. Denis On 04/10/2017 1