#1185: Encoding problem with path of connection file
---------------------+------------------------------------------------------
  Reporter:  cito    |       Owner:  ed      
      Type:  defect  |      Status:  assigned
  Priority:  major   |   Milestone:  0.9     
 Component:  app     |     Version:          
Resolution:          |    Keywords:          
---------------------+------------------------------------------------------
Changes (by ed):

  * owner:  somebody => ed
  * status:  new => assigned
  * version:  0.8.4 =>
  * milestone:  0.8.3 => 0.9

Comment:

 {{{
 The problem arises because the filename of the connection file is read
 from the cnxml file and thus comes in as unicode. In order to use this as
 a filename and append this to encoded paths, this needs to be encoded, and
 since there is no reasonable way to find out the encoding of the file
 system, we must make a good guess, i.e. encode with utf-8.
 }}}

 Rather than guess, I think that the best approach would be to use the
 value of dApp.Encoding, which would give the user the ability to override
 if their system used something other than UTF-8.

 I'll look into this tonight.

-- 
Ticket URL: <http://trac.dabodev.com/ticket/1185#comment:4>
Dabo Trac <http://trac.dabodev.com>
Trac Page for Dabo


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to