Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 084ebb513cc1d6a2b87220a9b16494687ff8b99e5d7848b5a646a0d9165f6376
Ticket: 9f9c828fde97a4c8a7a528dec3482ecce0838419
trim issue with chinese characters
User & Date: jan.nijtmans on 2024-11-07 16:14:59
Changes

  1. assignee changed to: "jan.nijtmans"
  2. closedate changed to: "2460622.17708222"
  3. closer changed to: "jan.nijtmans"
  4. icomment:
    Found [https://stackoverflow.com/questions/9322410/set-encoding-in-python-3-cgi-scripts|this]
    
    Excerpt:
    
    4) a simple solution is to pass the Apache process's LANG environment variable through to the CGI script using Apache's mod_env PassEnv command in the server or virtual host configuration: PassEnv LANG; on Debian/Ubuntu make sure that in /etc/apache2/envvars you have uncommented the line ". /etc/default/locale" so that Apache runs with the system default locale and not the C (Posix) locale (which is also ASCII encoding)
    
    Make sure line similar to LANG="en_US.UTF-8" is present in /etc/default/locale
    
    So, I think this ticket can be closed: It's not a bug in Tcl
    
  5. login: "jan.nijtmans"
  6. mimetype: "text/x-fossil-wiki"
  7. resolution changed to: "Invalid"
  8. status changed to: "Closed"