Re: [hatari-devel] GEMDOS filename handling

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Am Sat, 16 Aug 2014 01:25:03 +0300
schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:

> Hi,
> 
> On torstai 14 elokuu 2014, Eero Tamminen wrote:
[...]
> Currently SDL GUI shows Linux 8-bit UTF-8 paths with multiple
> characters which is really ugly.  Because Max already provided
> conversion functions, doing the conversion from host file names
> to Atari charset when rendering the string is only few lines of
> code [1].

NAK, again, this is really the wrong way to go. I think we really
should rather support (western-style) UTF-8 strings in the GUI instead.
I did something similar for Ballerburg SDL, too, see:

http://git.tuxfamily.org/baller/baller.git/?p=baller/baller.git;a=blobdiff;f=src/sdlgui.c;h=185fbce139cea6d82b419a9f422da33fcdfa2d5a;hp=e25dcaaf21658c87a0c442596d3f4d3c5f45f98b;hb=fce95fd6a8225038d8f17554284a6db4ff571ca3;hpb=ad6a2a99bac840403793baff42f4a88cba9aa30c

> However, SDL GUI font doesn't use Atari character order, but
> something else.

It's simply a latin1 codepage. Should be enough for the current set of
Hatari users, I suppose.

 Thomas




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/