[Zope] japanese encoding

Andrew Milton akm at theinternet.com.au
Fri Feb 26 15:22:17 EST 2010


+-------[ Aaron Maupin ]----------------------
| Andrew Milton wrote:
| >+-------[ Aaron Maupin ]----------------------
| >| Andrew Milton wrote:
| >| 
| >| >Tried simply; text.encode('iso-2022-jp') ?
| >| 
| >| Yes, I've tried that.  I get 'unknown encoding: iso-2022-jp'
| >
| >"japanese.python.iso-2022-jp"
| 
| Not sure why that would work

That's what the included test cases use...

-- 
Andrew Milton
akm at theinternet.com.au


More information about the Zope mailing list