Re: encoding latin1 to utf-8

2007-09-12 Thread Harshad Modi
thx for response , i think, my file has wrong encoding format. thanks for guide and advise -- http://mail.python.org/mailman/listinfo/python-list

Re: encoding latin1 to utf-8

2007-09-10 Thread Xah Lee
On Sep 10, 5:25 am, Harshad Modi <[EMAIL PROTECTED]> wrote: > hello , > I make one function for encoding latin1 to utf-8. but i think it is > not work proper. > plz guide me. Hi, what you want is here, including complete code: Converting a File's "Character Set" / Encoding http://xahlee.org/perl

Re: encoding latin1 to utf-8

2007-09-10 Thread Piet van Oostrum
> Harshad Modi <[EMAIL PROTECTED]> (HM) wrote: >HM> hello , >HM> I make one function for encoding latin1 to utf-8. but i think it is >HM> not work proper. >HM> plz guide me. >HM> it is not get proper result . such that i got "Belgi�" using this >HM> method, (Belgium) : >HM> import codecs

Re: encoding latin1 to utf-8

2007-09-10 Thread Carsten Haese
On Mon, 2007-09-10 at 13:11 +, Harshad Modi wrote: > thx for Reply , > but I need some basic knowledge . how to encoding ? which algorithm > use for that . bz my data has some special char , i have not > confidence this function got proper result. i want to make my own > function / script fo

Re: encoding latin1 to utf-8

2007-09-10 Thread Harshad Modi
thx for Reply , but I need some basic knowledge . how to encoding ? which algorithm use for that . bz my data has some special char , i have not confidence this function got proper result. i want to make my own function / script for encoding. -- http://mail.python.org/mailman/listinfo/python-l

Re: encoding latin1 to utf-8

2007-09-10 Thread J. Clifford Dyer
On Mon, Sep 10, 2007 at 12:25:46PM -, Harshad Modi wrote regarding encoding latin1 to utf-8: > Path: > news.xs4all.nl!newsspool.news.xs4all.nl!transit.news.xs4all.nl!newsgate.cistron.nl!xs4all!news.glorb.com!postnews.google.com!22g2000hsm.googlegroups.com!not-for-mail > > hello , > I make o