From: Handzsuj,Thomas <tho...@dr...> - 2002-11-08 08:03:52
|
Hi, as often the solution is simple and is caused by my own limited = knowledge: I did not overwrite the function get_charset() with the default = "us-ascii". After changing this to "utf8" everything is fine. Thomas > ---------- > Von: Handzsuj,Thomas > Gesendet: Montag, 4. November 2002 09:53 > An: 'ht2...@li...' > Betreff: [HT2HTML-devel] German umlauts >=20 > Hi, >=20 > I have the following problem with ht2html (version 2.0): >=20 > German umlauts are replaced by a '?' (seen in the html source) >=20 > I am using > - a slightly modified version of PDOGenerator.py > - python 2.0 (linux) and 2.2.2 (Windows NT) > - a very simple ht file (a header and one paragraph) >=20 > index.ht: > "Title: Thomas Handzsuj @ mt-i-euk >=20 > <h3>Was gibts hier =FCberhaupt</h3> >=20 > <p>Mal sehen wie die Umlaute aussehen "=FC=F6=E4=DF" > " >=20 > resulting in: > "... > <!-- start of body cell --> > <td valign=3D"top" width=3D"90%" class=3D"body"><br> > <h3>Was gibts hier ?berhaupt</h3> >=20 > <p>Mal sehen wie die Umlaute aussehen "????" >=20 >=20 > </td><!-- end of body cell --> > ..." >=20 > With python 2.2.2 there are _two_ '?' for each umlaut. >=20 > Please give me a hint where to look in the ht2html sources (or a > solution).=20 >=20 > Thank you. >=20 > Best regards / Mit freundlichen Gr=FC=DFen=20 >=20 > Thomas Handzsuj >=20 > Design and Development > Intensive Care > ---------------------------------------------------- > DR=C4GER MEDICAL >=20 > Dr=E4ger Medical AG & Co. KGaA > Moislinger Allee 53-55 > D-23542 L=FCbeck > Tel: + 49-451-882-1524 > Fax: + 49-451-882-71524 (PC) > Fax: + 49-451-882-2856 (paper print) > ----------------------------------------------------- >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: ApacheCon, November 18-21 in > Las Vegas (supported by COMDEX), the only Apache event to be > fully supported by the ASF. http://www.apachecon.com > _______________________________________________ > HT2HTML-devel mailing list > HT2...@li... > https://lists.sourceforge.net/lists/listinfo/ht2html-devel >=20 |