
Hello all,
On Fri, 16 Mar 2007 22:42:00 +0900, Sven Panne
it was true for Win9x. NT-based systems supports new api which uses utf16 (of course they support old api too).( snip )
Well, I know that there is a "wide" API now, I just wanted to point out what is commonly done when an 8bit <-> character conversion is needed. The problem is that Haskell's I/O libs current use e.g. _sopen instead of _wsopen, so I should probably rephrase my proposal then as follows:
* Use a "wide" API when available internally
I trid to change by just changing from ascii API to wide API tonight. But ... there is one problem. _wopendir defined in mingwex library, and mingwex requires dll. http://www.mingw.org/MinGWiki/index.php/mingwex C:\home>C:\home\ghc-6.7.20070314\ghc-6.7.20070314\bin\ghci.exe ___ ___ _ / _ \ /\ /\/ __(_) / /_\// /_/ / / | | GHC Interactive, version 6.7.20070314, for Haskell 98 . / /_\\/ __ / /___| | http://www.haskell.org/ghc/ \____/\/ /_/\____/|_| Type :? for help. : C:/home/GHC-67~1.200/GHC-67~1.200/HSbase.o: unknown symbol `__wopendir' Loading package base ... linking ... : unable to load package `base' C:\home>C:\home\ghc-6.7.20070314\ghc-6.7.20070314\bin\ghci.exe ___ ___ _ / _ \ /\ /\/ __(_) / /_\// /_/ / / | | GHC Interactive, version 6.7.20070314, for Haskell 98 . / /_\\/ __ / /___| | http://www.haskell.org/ghc/ \____/\/ /_/\____/|_| Type :? for help. Loading package base ... : can't load .so/.DLL for: mingwex (addDLL: unknown error) I can't find mingwex from anywhere. So I think we must change this part. Best Regards, -- shelarcy <shelarcy capella.freemail.ne.jp> http://page.freett.com/shelarcy/