Re: Unicode?

"Jonathan Ellis" <[email protected]> Mon, 23 Oct 2006 06:55:14 -0700
Newsgroups gmane.comp.python.spyce.general
Message-ID <[email protected]>
You are correct; Spyce is unicode-oblivious.

On Mon, 23 Oct 2006 09:55:37 +0200, "Iwan Vosloo" <[email protected]> said:
> Hi there,
> 
> I've just been wondering how spyce deals with Unicode.  As far as I can
> figure it out,  spyce reads .spy and .spi files in method
> "spyceFileCacheGenerate" in file spyce.py.  And the relevant code looks
> like this:
> 
> try:
>     f = open(filename)
>     code = f.read()
> finally:
>     if f: f.close()
> 
> 
> This does not seem to be aware of character encoding at all?
> 
> I've also scanned down the code inside spyceCode's constructor etc, but
> nowhere do I see that the byte-strings read from the files here are
> decoded?  Is spyce thus unaware of character-encoding and unicode
> issues?
> 
> -i
> 
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Spyce-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/spyce-users
-- 
C++ is history repeated as tragedy. Java is history repeated as farce.  --Scott McKay


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642