[fpc-devel] RTL Unicode support, Win32/CE
graemeg.lists at gmail.com
Tue Aug 5 11:42:31 CEST 2008
On 8/5/08, Yury B. <yurybe83 at gmail.com> wrote:
> Second, i haven't found any WideString or UTF8String typed standard file IO
> functions in the RTL that makes impossible to deal with files whose names
> contain national symbols not represented by the ANSI code page set in the
> Win32 for *A functions. (e.g. saving a french web page containing symbols
> with accents under a cyrillic-localized version of WinNT as a file whose
> name is the title of the page)
> SUMMARY: Even if LCL supports unicode display, the RTL cannot deal with
> unicode filenames under Win32.
fpGUI and MSEgui has custom wrapper functions that handle
file/directory handling correctly. I don't know what Lazarus LCL does.
> As far as i know, the problem concerns Win32 and WinCE only, i.e. Linux and
> MacOS use UTF- 8 as system encoding nowadays.
Win32, Win64 and WinCE uses UTF-16 since Win2000 days, not ANSI.
Win9x uses ANSI as far as I know.
> encoded character; 3) are there any locale calendar/date-time functions
> which return the name of the month, day?
For Windows this already works. I just had a discussion in this
mailing list, highlighting a possible solution for *BSD and Linux
- Graeme -
fpGUI - a cross-platform Free Pascal GUI toolkit
More information about the fpc-devel