From: John G. <joh...@ya...> - 2001-05-15 01:34:04
|
Q: If I compile with Mingw on Win98, and then run that executable on NT or Win2000, will wistream get() get me a Unicode character, like (I think) it should on NT, or will get() get me a single byte from the native code page like (I think) it would on 98? Details: I am using Win98 and Mingw to build a lexer/parser DLL which is going to have to be able to support Japanese text. If everything is done with Unicode, then I don't have any issues, but if the lexer is fed one byte at a time from multi-byte code pages, then I'm in trouble. If I can compile it on Win98, but only support Japanese text if it is /run/ on NT or 2000, then I am OK. As far as I know, on Win98 a wistream get() will get me a single byte from the native code page, but I am happy enough to simply not support multi-byte code pages on 95/98. Sorry if this is documented somewhere, after a couple of days of reading and searching, I haven't got it figured out yet. TIA John Green _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |