Re: [AD] Re: Alleg-developers digest, Vol 1 #948 - 9 msgs

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Evert wrote:
 
> On Sunday 13 March 2005 17:41, Grzegorz Adam Hankiewicz wrote:
> > On 2005-03-04, Harsha <nharsha@xxxxxxxxxx> wrote:
> > > HI
> > >  TEAM
> > >
> > > I have added Kannada greeting to exunicod.c
> > > I have put that in a compressed file in my site
> > > please download it from here
> > >
> > > www.pixel.f2o.org/dl/contrib.zip
> >
> > Here are the files if you can't get them:
> >
> >   http://gradha.no-ip.org:8000/allegro_kannada/
>
> There seems to be something wrong... the new message for me shows up as
> Allegro^^^^^? I dit replace the unifont.dat file with the contributed
> one,
> so I'm not sure what's wrong. Can someone else test it?
>
> Evert
Look that (little endian):
+char message_ka[] = "\x20\x00\xa8\x0C\xbf\x0C\xae\x0C\x97\x0C\xc6\x0C
\x20\x00\xb8\x0C\xc1\x0C\xb8\x0C\xcd\x0C\xb5\x0C\xbe\x0C\x97\x0C\xa4\x0C";
+
And look that (big endian):
+char message_ka[] = "\x20\x00\x0C\xa8\x0C\xbf\x0C\xae\x0C\x97\x0C\xc6\x20\x00\x0C\xb8\x0C\xc1\x0C\xb8\x0C\xcd\x0C\xb5\x0C\xbe\x0C\x97\xa4\x0C";
 
The second one looks wrong, there are some characters where the bytes aren't swapped. The null character terminator is missing too. So the correct would be:
 
(little endian)
+char message_ka[] = "\x20\x00\xa8\x0C\xbf\x0C\xae\x0C\x97\x0C\xc6\x0C
\x20\x00\xb8\x0C\xc1\x0C\xb8\x0C\xcd\x0C\xb5\x0C\xbe\x0C\x97\x0C\xa4\x0C\x00\x00";
+
 
(big endian)
+char message_ka[] = "\x00\x20\x0C\xa8\x0C\xbf\x0C\xae\x0C\x97\x0C\xc6\x00\x20\x0C\xb8\x0C\xc1\x0C\xb8\x0C\xcd\x0C\xb5\x0C\xbe\x0C\x97\x0C\xa4\x00\x00";
+
 
But i don't tested it though (i'm hurry, tomorrow i can do).
 
Oh yes, if we added Kannada to exunicod , why not add brazilian portuguese? "Welcome to Allegro" would be written "Bem-vindo ao Allegro". :)
 
OFF-TOPIC COMMENT: I'm not sure, but i think in portuguese from Portugal it would be "Bem-vindo ao Allegro" too, but there are some differences in the language from Brasil and Portugal that made some phrases and words from one country sounds very strange in the other, even speaking the same language.
 
Victor Williams Stafusa da Silva


Yahoo! Mail - Com 250MB de espaço. Abra sua conta!

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