Re: [fpc-pascal] simple conversion of unicode chars

2015-12-27 Thread Tomas Hajny
On Sat, December 26, 2015 20:07, ulrich wrote: Hi, > I need the simplest possible transfer of one unicode character (numeric > string or integer) to the default windows code page (CP1250). Simple assignment to an ansistring or shortstring does implicit conversion using the current process codep

Re: [fpc-pascal] simple conversion of unicode chars

2015-12-27 Thread Bart
On 12/26/15, ulrich wrote: > I need the simplest possible transfer of one unicode character (numeric > string or integer) to the default windows code page (CP1250). You mean from codepoint (U+) to single byte CP1250? In unit LazUtf8 (in LazUtils from Lazarus): function UnicodeToUTF8(CodePo

[fpc-pascal] simple conversion of unicode chars

2015-12-27 Thread ulrich
Hi, I need the simplest possible transfer of one unicode character (numeric string or integer) to the default windows code page (CP1250). Thanks Roman ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/m