[Lazarus] Replacing accented letters

Koenraad Lelong lazarus2 at de-brouwerij.be
Fri Oct 13 15:32:07 CEST 2017

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 code, I tried them both.
One, OStripAccents, does not work, it returns te same string (AFAIK).
The other, BestFit, can't compile because WideCharToMultiByte is not 
recognized. Does FPC have WideCharToMultiByte ? I searched the RTL (of 
FPC 3.0) but I can't find it. I googled, but no relevant answer.


More information about the Lazarus mailing list