[Pidgin] #2701: Log paths for non-ascii account / buddy names can be too long ( > 255 characters)

Pidgin trac at pidgin.im
Thu Nov 1 18:38:38 EDT 2007


#2701: Log paths for non-ascii account / buddy names can be too long ( > 255
characters)
------------------------------+---------------------------------------------
  Reporter:  bl_beard         |       Owner:  rlaager                            
      Type:  defect           |      Status:  new                                
  Priority:  minor            |   Milestone:                                     
 Component:  winpidgin (gtk)  |     Version:  2.1.0                              
Resolution:                   |    Keywords:  Could not create log file meanwhile
   Pending:  0                |  
------------------------------+---------------------------------------------
Comment (by rlaager):

 Replying to [comment:5 datallah]:
 > One major benefit of encoding the filename is that the filenames are the
 same on all platforms.  On Windows (except 98, which I don't really care
 about), Unicode filenames are fine, but on Linux, filenames are encoded
 according to G_FILENAME_ENCODING and G_BROKEN_FILENAMES and not
 necessarily UTF-8.  By encoding the filename, we don't have to worry about
 any of this.

 Of course. However, it's clear that the combination of Sametime's long
 names, non-ASCII characters, and URL-encoding are a problem.

 We could use a more compact encoding: Punycode might be useful here.

 Maybe we should add a logging preference for this that determined how we
 wrote the filenames? On read, we could try both names???

-- 
Ticket URL: <http://developer.pidgin.im/ticket/2701#comment:7>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list