|
From: Eric K. <ek...@rz...> - 2001-10-24 12:14:23
|
"Aliberti Emanuele" <ea...@io...> wrote: > > >I finished porting unicode over to ROS. It's about 800 kbytes+ zipped. So, > > What is the "unicode library"? > I guess he is talking about the ansi/oem<->unicode conversion tables from Wine. I'm not sure if we should use it as a dll. The main problem is that the conversion tables must be accessible from kernel *and* user mode. Loading them as a kernel mode driver will not allow us to use non-default code-page tables in user mode. Loading them as a dll does not allow us to use them in kernel mode. IIRC, WinNT loads the default code-page tables (oem-unicode, ansi-unicode and unicode case-table) into a named memory section (use winobj to see them) and maps a view into every process. The code-page tables can also be loaded separately by MultiByteToWideChar() and WideCharToMultiByte(), at least I think they do so. Regards, Eric Kohl ==================================================== = To remove yourself from this mailing list, go to = = http://www.reactos.com/home/mailing.html = ==================================================== |