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/





Reply via email to