Re: debconf and locale specific characters

2005-04-07 Thread Bjorn Ove Grotan
Alban Browaeys: snip from slapd debian script source it is told that utf8 would broke the ldi output (talking about root dn , though i guess it is just that openldap does not support utf8 out of the box right now). Though i am pretty confident that slapd/lbdm or bdb support utf8 i would not

Re: debconf and locale specific characters

2005-04-06 Thread Andrew Suffield
On Tue, Apr 05, 2005 at 06:50:45AM -0700, Steve Langasek wrote: I agree there's a (slim) chance of the charset changing between config and postinst, so recoding in the config script itself is best. More than a slim chance if you're preseeding the debconf database for use on multiple hosts. --

Re: debconf and locale specific characters

2005-04-06 Thread Torsten Landschoff
Hi Alban, On Wed, Apr 06, 2005 at 05:15:34AM +0200, Alban Browaeys wrote: It is save to assume that the data from debconf is in the charset of the current locale? Then foo=`echo $RET|iconv -t UTF8` after the db_get would suffice. Of course the locale could change between config and

debconf and locale specific characters

2005-04-05 Thread Torsten Landschoff
Hi there, My OpenLDAP 2.2 packages have a problem if the user enters something using his locale specific character (like äöü) into the organization field which is queried using debconf cf. http://bugs.debian.org/236097 The LDIF RFC demands that character data is either in 7 bit ASCII or in

Re: debconf and locale specific characters

2005-04-05 Thread Steve Langasek
Hi Torsten, On Tue, Apr 05, 2005 at 09:20:33AM +0200, Torsten Landschoff wrote: My OpenLDAP 2.2 packages have a problem if the user enters something using his locale specific character (like äöü) into the organization field which is queried using debconf cf. http://bugs.debian.org/236097 The

Re: debconf and locale specific characters

2005-04-05 Thread Torsten Landschoff
On Tue, Apr 05, 2005 at 06:50:45AM -0700, Steve Langasek wrote: I agree there's a (slim) chance of the charset changing between config and postinst, so recoding in the config script itself is best. After thinking about it I don't think anymore it is that good an idea to do that. If debconf

Re: debconf and locale specific characters

2005-04-05 Thread Junichi Uekawa
Hi, It is save to assume that the data from debconf is in the charset of the current locale? Then foo=`echo $RET|iconv -t UTF8` after the db_get would suffice. Of course the locale could change between config and postinst so maybe I should convert to UTF-8 and store the result in the

Re: debconf and locale specific characters

2005-04-05 Thread Alban Browaeys
Le Tue, 05 Apr 2005 09:20:33 +0200, Torsten Landschoff a écrit : Hi there, My OpenLDAP 2.2 packages have a problem if the user enters something using his locale specific character (like äöü) into the organization field which is queried using debconf cf. http://bugs.debian.org/236097 The