Re: [Zope] How to display unicode character given its code

2005-07-26 Thread Dieter Maurer
Itai Tavor wrote at 2005-7-26 11:20 +1000: > ... >Couldn't get it to work, though... not sure why: unicode('\u2013') >returns u'\\u2013', which is useless. I know why (now, that you report the problem). '...' introduces a non unicode string in which "\u" is not recognized. "\u" is only reco

Re: [Zope] How to display unicode character given its code

2005-07-25 Thread Itai Tavor
On 26/07/2005, at Tue 26/07 4:12AM, Dieter Maurer wrote: Itai Tavor wrote at 2005-7-25 20:21 +1000: This is a bit OT but this list is the best place I know to ask it :) I have a form which uses UTF-8, the text entered in the form then has to be converted to iso-2022-jp. If any character is en

Re: [Zope] How to display unicode character given its code

2005-07-25 Thread Dieter Maurer
Itai Tavor wrote at 2005-7-25 20:21 +1000: >This is a bit OT but this list is the best place I know to ask it :) > >I have a form which uses UTF-8, the text entered in the form then has >to be converted to iso-2022-jp. If any character is entered that >isn't valid for iso-2022-jp I get: > >Unic