Re: How to wrap a Japanese text in Python

2007-06-08 Thread Leo Kislov
On Jun 8, 2:24 am, Leo Kislov <[EMAIL PROTECTED]> wrote: > On Jun 7, 5:12 am, [EMAIL PROTECTED] wrote: > > > Hi All, > > > I am trying to wrap a japanese text in Python, by the following code. > > > if len(message) > 54: > >message = message.decode("UTF8") > >strlist = textwrap.wrap(message

Re: How to wrap a Japanese text in Python

2007-06-08 Thread Leo Kislov
On Jun 7, 5:12 am, [EMAIL PROTECTED] wrote: > Hi All, > > I am trying to wrap a japanese text in Python, by the following code. > > if len(message) > 54: >message = message.decode("UTF8") >strlist = textwrap.wrap(message,54) > > After this I am wirting it to you a CAD Software window. While

How to wrap a Japanese text in Python

2007-06-07 Thread prashantkisanpatil
Hi All, I am trying to wrap a japanese text in Python, by the following code. if len(message) > 54: message = message.decode("UTF8") strlist = textwrap.wrap(message,54) After this I am wirting it to you a CAD Software window. While displaying in this window some Japanese characters at the