Re: REEEE: vowel with acute accent

"Ivone Uribe" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi guys!

First, thanks for your help...I'm very grateful.

I have tried it, gw/wml_compiler.c:463 from

  chars = octstr_create("UTF-8");

into

  chars = octstr_create("iso-8859-1")

.. but nothing.

I think something is wrong with kannel because:

in gw/wml_compiler.c:1649
	string = create_octstr_from_node(node);

whichever charset (utf-8 or iso-8859-1) this string has always the /xc3/xb3, 
I think this a little bad, because when the charset is  "iso-8859-1" the 
string should have the /xf3 instead of /xc3/xb3, and in the case "utf-8" 
it's well because ó is /xc3/xb3 in this code.

The problem with this isuue is that my phone and openwave simulator only 
accept charset iso-8859-1 and not utf-8, so it seems they treat the /xc3/xb3 
as ISO-8859-1 and it's logical the ó  because

iso-8859-1 use xc3 to encode a A with tild and it use xb3 to encode a 
Uperscript three
utf-8 use xc3xb3 to encode a ó

And what's up with nokia... I guess nokia assumes the data as utf-8 (because 
it's the kannel charset by default) and the nokia accepts utf-8 charset, but 
if you change
gw/wml_compiler.c:463 from

  chars = octstr_create("UTF-8");

into

  chars = octstr_create("iso-8859-1")

the nokia will show the ó because it will try the /xc3/xb3 as iso-8859-1 
and not as utf-8.

So, I think something is wrong, beacuse whatever charset (utf-8 or 
iso-8859-1) kannel always sends /xc3/xb3 as ó.
Do you think it is a bug?

Any idea is welcome!!!

Thanks in advance,
Ivone



-----Original Message-----
From: Stipe Tolj [mailto:[email protected]]
Sent: Domingo 16 de Marzo de 2003 9:04 AM
To: Uribe, Ivonne
Cc: [email protected]
Subject: Re: REEEE: vowel with acute accent


Ok,

I still get the same behaviour for the Openwave SDK, even when I
change the follwing line:

gw/wml_compiler.c:463 from

  chars = octstr_create("UTF-8");

into

  chars = octstr_create("iso-8859-1");

?!?!?

So it looks still like a device specific behaviour.

Stipe

[email protected]
-------------------------------------------------------------------
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [email protected]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are






>From: Stipe Tolj <[email protected]>
>To: "Uribe, Ivonne" <[email protected]>
>CC: Bruno David Rodrigues <[email protected]>, 
>	"[email protected]" <[email protected]>
>Subject: Re: REEEE: vowel with acute accent
>Date: Sun, 16 Mar 2003 14:38:33 +0100
>
> > Please Stipe, Could you point http://litux.org/test.wml with your 
>gateway(IP
> > 213.70.141.26) or Bruno's gateway (213.30.31.40). I can do a ping but I
> > can't access and the administrator network is not here now...please try
> > it..and let me know if the upsdk simulator shows the ó correctly.
> >
> > Ps: My options in Upsdk are:
> > open configuration:owg1.pho
> > uplink 213.70.141.26(your gateway)
> > language:English
> > Charset: automatic(use system default)
> >
> > If you want yo can test it, too
> >
> > <?xml version="1.0" encoding="utf-8"?>
> > <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
> > "http://www.wapforum.org/DTD/wml_1.1.xml">
> > <wml>
> >   <template>
> >     <do type="prev" name="Voltar" label="Voltar">
> >       <prev/>
> >     </do>
> >   </template>
> >   <card id="N400001" title="Kannel">
> >     <p>#243; -ó-</p>
> >   </card>
> > </wml>
> >
> > Thanks in advance, :)
>
>I have accessed http://litux.org/test.wml using our public gateway at
>kannel.dev.wapme.net running the *current* cvs tree:
>
>1. Nokia SDK, 7210: shows correctly.
>2. Openwave SDK: shows *incorrectly*.
>
>See attached snapshots.
>
>So obviously it's up to Openwave. You should confront them with this
>issue.
>
>Stipe
>
>[email protected]
>-------------------------------------------------------------------
>Wapme Systems AG
>
>Vogelsanger Weg 80
>40470 Düsseldorf
>
>Tel: +49-211-74845-0
>Fax: +49-211-74845-299
>
>E-Mail: [email protected]
>Internet: http://www.wapme-systems.de
>-------------------------------------------------------------------
>wapme.net - wherever you are
><< openwave-sdk.jpg >>
><< nokia7210.jpg >>


_________________________________________________________________
Charla con tus amigos en línea mediante MSN Messenger: 
http://messenger.yupimsn.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.