Re: characters in python

2006-10-19 Thread Gigs_
Leo Kislov wrote: > > On Oct 18, 11:50 am, Stens <[EMAIL PROTECTED]> wrote: >> Stens wrote: >>> Can python handle this characters: c,c,ž,d,š? >>> If can how"I wanna to change some characters in text (in the file) to the >> characters at this address: >> >> http://rapidshare.de/files/37244252/Untit

Re: characters in python

2006-10-19 Thread Gigs_
I solve it. Just have to do another encoding: http://www.python.org/dev/peps/pep-0263/ -- http://mail.python.org/mailman/listinfo/python-list

Re: characters in python

2006-10-18 Thread Leo Kislov
Leo Kislov wrote using google groups beta: > On Oct 18, 11:50 am, Stens <[EMAIL PROTECTED]> wrote: > > Stens wrote: > > > Can python handle this characters: c,c,ž,d,š? [snip] > outfile.write(line.replace(u'd',u'd')) I hope you'll do better than google engeers who mess up croatian characters

Re: characters in python

2006-10-18 Thread Leo Kislov
On Oct 18, 11:50 am, Stens <[EMAIL PROTECTED]> wrote: > Stens wrote: > > Can python handle this characters: c,c,ž,d,š? > > > If can how"I wanna to change some characters in text (in the file) to the > characters at this address: > > http://rapidshare.de/files/37244252/Untitled-1_copy.png.html Yo

Re: characters in python

2006-10-18 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, Stens wrote: > Stens wrote: >> Can python handle this characters: ć,č,ž,đ,š? >> >> If can how" > I wanna to change some characters in text (in the file) to the > characters at this address: > > http://rapidshare.de/files/37244252/Untitled-1_copy.png.html Do you want to

Re: characters in python

2006-10-18 Thread Stens
Stens wrote: Can python handle this characters: ć,�,ž,đ,š? If can how" I wanna to change some characters in text (in the file) to the characters at this address: http://rapidshare.de/files/37244252/Untitled-1_copy.png.html -- http://mail.python.org/mailman/listinfo/python-list

Re: characters in python

2006-10-18 Thread Fredrik Lundh
Stens wrote: > Can python handle this characters: ć,č,ž,đ,š? yes. > If can how" depends on the use case: are you trying to put them in source code, in files, on the terminal, ... ? -- http://mail.python.org/mailman/listinfo/python-list

Re: characters in python

2006-10-18 Thread Stens
Stens wrote: Can python handle this characters: ć,�,ž,đ,š? If can how" Heh, It is from croatian language. So this characters are changed. -- http://mail.python.org/mailman/listinfo/python-list