[spe.pycs.net] Re: Unicode Encoding?

www.stani.be s_t_a_n_i at yahoo.com
Wed Nov 24 02:12:39 CET 2004


--- Chris Spencer <ckspencer at verizon.net> 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



More information about the Spe-user mailing list