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

  * owner:  anonymous => cboos
  * status:  assigned => new

Comment:

 Replying to [comment:10 anonymous]:

 Is ''anonymous'' eq ''cboos'' ?

 > Partly: it works fine with Unicode values,

 but "%s" % (unicode_value) generates a UnicodeEncodeError, doesn't it?

 > the encoding used will be "utf-8"

 I fully agree.

 > I'll add a `# -*- coding: utf-8 -*-` first line to the file, to make
 that clear.
 You mean in the trac.ini file? Make it less pythonic (users/admin don't
 have to care about the language and naming conventions used for Trac),
 something like
 {{{
 ; charset: UTF-8
 }}}

 > Also, there's no support yet for Unicode keys and section names,
 > as I think this would have been overkill.

 Plugins may need non-ascii values. A typical case is the
 th:TracFrenchTranslation which stores the translated term in the ini file.
 The configuration file should support UTF-8 natively (but no other
 encoding scheme).

-- 
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