Skip to content
Tcl Source Code Artifact [084ebb513c]
Login

Artifact [084ebb513c]

Artifact 084ebb513cc1d6a2b87220a9b16494687ff8b99e5d7848b5a646a0d9165f6376:

Ticket change [084ebb513c] - Closed ticket [9f9c828fde97a4c8|9f9c828fde]: <i>trim issue with chinese characters</i> plus 7 other changes by jan.nijtmans on 2024-11-07 16:14:59.
D 2024-11-07T16:14:59.904
J assignee jan.nijtmans
J closedate 2460622.17708222
J closer jan.nijtmans
J icomment Found\s[https://stackoverflow.com/questions/9322410/set-encoding-in-python-3-cgi-scripts|this]\r\n\r\nExcerpt:\r\n\r\n4)\sa\ssimple\ssolution\sis\sto\spass\sthe\sApache\sprocess's\sLANG\senvironment\svariable\sthrough\sto\sthe\sCGI\sscript\susing\sApache's\smod_env\sPassEnv\scommand\sin\sthe\sserver\sor\svirtual\shost\sconfiguration:\sPassEnv\sLANG;\son\sDebian/Ubuntu\smake\ssure\sthat\sin\s/etc/apache2/envvars\syou\shave\suncommented\sthe\sline\s".\s/etc/default/locale"\sso\sthat\sApache\sruns\swith\sthe\ssystem\sdefault\slocale\sand\snot\sthe\sC\s(Posix)\slocale\s(which\sis\salso\sASCII\sencoding)\r\n\r\nMake\ssure\sline\ssimilar\sto\sLANG="en_US.UTF-8"\sis\spresent\sin\s/etc/default/locale\r\n\r\nSo,\sI\sthink\sthis\sticket\scan\sbe\sclosed:\sIt's\snot\sa\sbug\sin\sTcl
J login jan.nijtmans
J mimetype text/x-fossil-wiki
J resolution Invalid
J status Closed
K 9f9c828fde97a4c8a7a528dec3482ecce0838419
U jan.nijtmans
Z 916d39bc462db045ad45fa837970f251