Re: Problem with international character sets

Michael Class (michael.class@zdv.uni-tuebingen.de)
Thu, 7 Sep 1995 16:17:24 +0200 (MSZ)

Hello,

perhaps one Idea: We had the same Problem, there was a bug
in the web500gw-Code (at least in Version 1.3) so that all
8-Bit chars caused the spawned child to die. Result: nothing
is displayed. (Btw. not the parent web500gw dies!)

Let me try to find the fix: it is in hex_encode

<-----snipsnipsnipsnipsnipsnipsnipsnipsnipsnip-----------------------
*** web500gw.c.3.5 Thu Sep 7 16:11:59 1995
--- web500gw.c Thu Sep 7 16:12:35 1995
***************
*** 2470,2477 ****
*out++ = *in++;
} else {
*out++ = '%';
! *out++ = hex[(unsigned int)*in >> 4];
! *out++ = hex[(unsigned int)*in & 15];
in++;
}
}
--- 2480,2487 ----
*out++ = *in++;
} else {
*out++ = '%';
! *out++ = hex[((unsigned int)*in & 0xf0) >> 4];
! *out++ = hex[(unsigned int)*in & 0x0f];
in++;
}
}
<-----snipsnipsnipsnipsnipsnipsnipsnipsnipsnip-----------------------

Don't know wether this adresses your problem. Depends on the
web-gw version you are using.

Have fun

Micha

On Thu, 7 Sep 1995, Guillermo Cajigas Bringas wrote:

> Date: Thu, 7 Sep 1995 11:24:45 +0200
> From: Guillermo Cajigas Bringas <gcb@chicharro.tid.es>
> To: ldap@umich.edu
> Subject: Problem with international character sets
>
>
> I'm using ldap ( 3.1 )and the X500 to web gateway with isode-8.0. I have
> problems with attributes when using T.61 string; the DSA reads fine the E=
> DB
> file containing the attribute but when trying to display it in the gatewa=
> y i
> have an empty page, nothing of the information present in the EDB file is=
>
> displayed when an attribute is defined T.61 and have some international
> characters ( =F1 in my case ).
>
> Does anybody what the problem could be ?.
>
> please e-mail me as i'm not sure to receive the discussion list.
>
> Thanks
>
> -- =
>
> -------------------------------------------------------------------------=
> ------
> Guillermo Cajigas Bringas
>
> E-mail: gcb@tid.es
> gcb@marben.es
> -------------------------------------------------------------------------=
> ------
>

-------------------------------------------------------------------------
michael class michael.class@zdv.uni-tuebingen.de
ZDV Uni-Tuebingen, Morgenstelle C2-P28, Tel. +49 7071 29-7539
PGP-Public-Key: finger Michael.Class@x500.uni-tuebingen.de
-------------------------------------------------------------------------