Mail Archives: djgpp/2000/01/18/02:07:11
Shawn Hargreaves wrote:
>
> If you are using a DOS editor,
> though, you are in trouble: DOS can use many different character
> layouts depending what country you are in, and Allegro doesn't know
> anything about these. You could find a table to convert whatever
> format you are using into Unicode, and then use the Allegro U_ASCII_CP
> mode to convert all your text using that table, but I really don't
> recommend this because it's very inefficient, and also won't work
> correctly for other countries that use different DOS codepages.
The GNU `recode' program, available from the DJGPP sites, can convert any
encoding to any other encoding. It supports Unicode and all DOS codepages
(well, at least the current version 3.5 does, but DJGPP sites have version
3.4, so something might be missing there).
- Raw text -