Re: Re: Unicode Encoding?
"www.stani.be" <s_t_a_n_i-/[email protected]> Tue, 23 Nov 2004 17:12:39 -0800 (PST)
| Newsgroups | gmane.comp.python.spe.user |
|---|---|
| Message-ID | <[email protected]> |
--- Chris Spencer <[email protected]> wrote: > Benno Dielmann wrote: > > > I'll paste in my solution to this problem which I > posted to this mailing list > > some time ago. So here it comes: > [snip] > > Thanks, that did the trick. That and changing the > font to one which > supports Asian characters. Although this hack is far > from streamlined. > This trick assumes that all your files will conform > to this encoding, > ignoring Python's protocol to list the encoding at > the top of the file, > e.g. # -*- coding: utf-8 -*- for utf-8. It'd be nice > to have a drop-down > menu that let's you select an encoding, akin to a > web-browser, That's what I started to think of implementing: a drop down list in the preferences dialog box. Which list should it consist of? What are common encoding formats? Is there somewhere a list on the internet? Suggestions are welcome. What I also could do is that spe changes the default encoding to the value of the preference box and restore the previous value when spe exits. > or let > the SPE auto-detect the encoding for each file. Is there any python library/algorithm for this. It seems a bit risky to me. By the way I'm looking still for Mac Os X users to perform some tests. Stani http://spe.pycs.net http://www.stani.be __________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail