Vjacheslav Chekushin wrote: > > There is transcoding staff in wap-appl.c (static void return_reply()) and > wml_compiler.c (some parsing routines, that do charset_convert). > There are some bugs in this transcoding staff (I affraid - many bugs) but > I want waste my time to clean this code. > I just commented out this code from both modules because it seems unneeded to me > at all. > If someone can show me why trancoding is used and what phone doesn't work > without it, I am ready to make patches for this.
AFAIS, Bruno did these changes in return_reply(). In the comment he states it is "required" for the Sharp GX20?! AFAIS, the block in retrun_reply() cares about transcoding the HTTP response body to either UTF-8 (or ISO-Latin1) *if* the charset of the body is *not* accepted by the device (indicated via corresponding HTTP headers in WSP code). This is legitimate IMO, even while my comment above the block states, that the HTTP server (and the corresponding application) should take care of it. This can be considered as fall-back-sanity. So, you indicate there are bugs. Please report and let's get them out of there if you consider there are some. 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
