Hi,

A lot of things have changed since 1.2.1. That includes default encoding from windows-1253 to UTF-8. I know winwap, I have used it extensively. I have never had any problems with it and kannel. You should do the following:

1) Create a winwap shortcut to the desktop (if you haven't done so already).
2) Right click -> Properties. Append in the shortcut target the switch /DEBUG 3) Start winwap. Go to Edit -> Options-> Debug. You can now adjust User-Agent and accept headers.

However, this will not change your encoding. To adjust it go to View->Encoding. I leave it at Automatic. If you still get encoding errors post a wireshark dump of the request you send and a portion of debug wapbox logs, relevant to your error.

BR,
Nikos
----- Original Message ----- From: "Nelis Filip" <[email protected]>
To: "Nikos Balkanas" <[email protected]>
Cc: <[email protected]>
Sent: Thursday, October 28, 2010 10:55 AM
Subject: RE: Some headers are skipped


Hi Nikos,

Thanks for your answer and also my apologies to have send my question on
wrong mailing list.

Some more details about my problem:

I'm not using a mobile but winwap to do my testing with Kannel which I
know supports ISO8859 (see
http://www.winwap.com/mobile_applications/winwap_mobile_browser_v_5).
When I'm doing my tests with kannel 1.2.1 instead of 1.4.3 I don't have
the problems of encoding that are not supported.
That's why I thought there must be changed something on Kannel since
version 1.2.1 ...

Or am I missing something?


Thx,

Filip

-----Original Message-----
From: Nikos Balkanas [mailto:[email protected]]
Sent: zaterdag 23 oktober 2010 0:17
To: Nelis Filip
Cc: [email protected]
Subject: Re: Some headers are skipped

Hi,

1) Don't post such questions to devel. Use users list instead.
2) None of these responses are kannel's.
3) Page you are downloading is obviously encoded as iso-8859-1. Your
mobile
doesn't support it. Next kannel tries to convert it to UTF-8, but mobile

doesn't support them either. It 's all part of the Accept headers that
your
mobile sends to kannel. Change mobile.

BR,
Nikos
----- Original Message ----- From: Nelis Filip
To: [email protected]
Sent: Friday, October 22, 2010 4:49 PM
Subject: Some headers are skipped


Hi dears,

We're now migrating from Kannel 1.2.1(which worked well) to Kannel 1.4.3
and
experiencing some problems with headers that are skipped for some
reason.

Response returned by Tomcat:

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=070FF4C7A114278AD57DF17469F99944; Path=/Appl
Cache-Control: max-age=86400
Content-Type: text/vnd.wap.wml
Date: Fri, 22 Oct 2010 12:10:06 GMT
Connection: close
--[ HEADER END ]------
<?xml version="1.0" encoding="ISO-8859-1"?>
...

Response returned by Kannel:

Server: Apache-Coyote/1.1
Unassigned: 2
Date: Fri, 22 Oct 2010 12:10:08 GMT
Unassigned: 19
--[ HEADER END ]------
<?xml version="1.0" encoding="ISO-8859-1"?>
...


Error message in the wapbox.log

2010-10-22 14:10:08 [7568] [7] WARNING: WSP: Device doesn't support
charset
<ISO-8859-1> neither UTF-8
2010-10-22 14:10:08 [7568] [2] ERROR: WSP: Do not know how to encode
header
type 65
2010-10-22 14:10:08 [7568] [2] WARNING: Skipping header: Set-Cookie:
JSESSIONID=D2AFBF3EB8A885DD4C9882221104B4DF; Path=/Appl


Has someone any idea why I got this strange behavior and how I can fix
it?

Thx in advance,

Filip Nelis


Reply via email to