[Pidgin] #1530: Translate utf8 <--> iso8859-X when in IRC

Pidgin trac at pidgin.im
Mon Jun 4 14:27:58 EDT 2007


#1530: Translate utf8 <--> iso8859-X when in IRC
---------------------------------------------------------+------------------
 Reporter:  EgU                                          |       Type:  enhancement
   Status:  new                                          |   Priority:  minor      
Component:  pidgin (gtk)                                 |    Version:  2.0.1      
 Keywords:  irc utf8 iso8859-1 latin1 translate charset  |    Pending:  0          
---------------------------------------------------------+------------------
 When I use IRC (I do that alot) it would be nice if pidgin/libpurple
 translated character set to the one I use as in irssi and other IRC-
 clients. If I use UTF8 and someone say something in latin1 (charpos higher
 then 127) it would translate the hole message to utf8 and vice versa. This
 can be detected by checking if the hole message are valid UTF8 or not. And
 do the "right" thing according to answer. This algorithm isn't perfect and
 might do wrong sometimes but its mutch better then "Hej p? dig"(Latin1
 when i use UTF8) and "Hej på dig"(UTF8 when I use Latin1) when correct
 would be "Hej på dig".


 This algorithm might be useful for other protocol also.

 /erikg

-- 
Ticket URL: <http://developer.pidgin.im/ticket/1530>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list