From: Grzegorz A. H. <gr...@in...> - 2000-08-29 00:34:07
|
On Mon, 28 Aug 2000, Ulrich Doewich wrote: > Allegro v3.9.32 (WIP), and djgpp targetting for DOS; my program runs either > in plain DOS or within a DOS box of Windows 9x. With what version/platform > did you do the 'grabber test'? Linux. Setting there an environment variable makes most programs work with latin-1 characters, reason why I can use umlauts or accented characters without problems. > I know that DOS has the umlauts and accented characters in a different > ASCII code location than Windows, since you have to do a 'OEM' to 'ANSI' > conversion (that's what my editor calls the function) for DOS texts that > use such characters. Perhaps this is related... if so, what code page > conversion would I have to use? As said in a previous (lagged) message, you will have to use the set_ucodepage after a call to set_uformat with U_ASCII_CP. Unluckily for you, and IIRC, you are going to be the first person with this codepage problem, so you will have to make the codepage yourself, sorry. The codepage conversion table takes one 256 bit character into an unicode character. You should write a little small program which prints characters from 32 to 256 on the screen, and note down on paper their unicode values (which you can get from grabber, creating a new font and viewing it). Once you have this table the filenames should pop correctly. If you have further problems just say so. Also, if you manage to get a correct conversion table, it would be great if you could post it to the list, so other people could use it too. Grzegorz Adam Hankiewicz gr...@in... - http://gradha.infierno.org Other web pages: http://glub.ehu.es/ - http://welcome.to/gogosoftware/ |