#3425: WebAdmin should be more conservative with trac.ini
-------------------------+--------------------------------------------------
 Reporter:  eblot        |        Owner:  cboos
     Type:  enhancement  |       Status:  new  
 Priority:  lowest       |    Milestone:  0.10 
Component:  webadmin     |      Version:  devel
 Severity:  minor        |   Resolution:       
 Keywords:  review       |  
-------------------------+--------------------------------------------------
Comment (by eblot):

 It seems ok, although it makes me think about a related question:[[BR]]
 How do the configuration code cope with unicode values (for characters not
 in ASCII set)?

 It seems the !ConfigParser does not make any character set translation at
 all. So when we read UTF-8 from the ini file, the configuration parser
 uses utf-8 values. What about if we place unicode characters in the
 configuration parser and call the `save()` method? It seems that neither
 the original parser method or the patch method can cope with Unicode. Am I
 wrong?

 I don't see where unicode-to-utf8 translation is made for the
 configuration file.

 BTW: it there any reason why the 'top level' scripts in `/scripts`
 directory are kept encoded using `iso-8859-1` rather than `utf-8` as the
 rest of the code? ex:

 {{{
 file -i scripts/trac-admin
 scripts/trac-admin: text/plain; charset=iso-8859-1
 }}}

-- 
Ticket URL: <http://trac.edgewall.org/ticket/3425>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets

Reply via email to