Re: Encoding Problem

Thomas Graf <[email protected]>
Newsgroups gmane.comp.web.zope.german
Message-ID <[email protected]>
Andreas Jung wrote:
> On 30.04.2009 14:40 Uhr, [email protected] wrote:
>> Liebe Liste,
>>
>> ich bekomme für den Namen eines Users den folgenden String von meinem
>> LDAP-Server geliefert: 'Rubo\xc5\xa1 Lo\xc5\xa1tejnsk\xc3\xbd'
>>
>> Der Name des Users lautet Ruboš Loštejnský (hoffe das kommt korrekt
>> bei Euch an :D). \xc5\xa1 entspricht also der HTML-Entity &scaron;
>> oder dem Unicode-Character LATIN SMALL LETTER S WITH CARON.
>>
>> Leider bekomme ich es nicht hin, den Namen korrekt auszugeben. Kann
>> mir jemand einen Tipp geben? Danke!
>>
> Korrekt ausgeben? Wo genau?
> 
> \xc5\xa1 is "normales" UTF-8 - wo ist genau das Problem?
> 
> -aj
> 
Hallo,
vielleicht hilft dieser Link:
http://www.reportlab.com/i18n/python_unicode_tutorial.html

Gruss Thomas

-- 
Thomas Graf, B.Sc.
Commercial and technical Services
Fraunhofer-Institut für Solare Energiesysteme ISE
Heidenhofstrasse 2, 79110 Freiburg, Germany
Phone: +49(0)761/4588-5123  Fax: +49(0)761/4588-9123
[email protected]
http://www.ise.fraunhofer.de



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.