Re: Support for Devanagari Script

Vijaya Poudyal <[email protected]> Fri, 8 Sep 2006 18:26:13 -0700 (PDT)
Newsgroups gmane.comp.python.internationalization
Message-ID <[email protected]>
--===============1690888945==
Content-Type: multipart/alternative; boundary="0-1134769057-1157765173=:86593"
Content-Transfer-Encoding: 8bit

--0-1134769057-1157765173=:86593
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Andy,
  The attached image is the desired, correct rendition.  So there is hope for my project! Now why do you think I don't get it in IDLE (Win XP, Win 200).  Any suggestions on what I should investigate to fix this?
   
  The Tk "Python Shell" window shows:
  Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] on win32
  IDLE 1.1.3   

  Thanks,
  vjktm
  
Andy Robinson <[email protected]> wrote:
  Vijaya Poudyal wrote:
> Hi Andy,
> I tried my example at the command prompt in XP and Xbash (cygwin). 
> Python cannot decode the unicode in both cases. In IDLE I get the wrong 
> rendering. I was not able to the "renders ... exactly the same ..." 
> behavior you mentioned.
> 
> When you say kSa.encode('utf8') do you get "Hello" followed by two 
> characters joined along the top or just one character (as in the html)? 
> When I run it I get two characters and this is a wrong rendering of the 
> code point sequence.

I get exactly the same thing in both, attached. I called this 'one 
character' in my ignorance, but I guess the characters get combined.
Strangely, if I move the cursor through it with right-arrow key, it 
"explodes" into 3 characters while it has the focus - these are the same 
ones in the unicode standards sheets for those bytes. But normally it 
appears as above.

Best Regards,


Andy


 		
---------------------------------
 All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.
--0-1134769057-1157765173=:86593
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<div>Andy,</div>  <div>The attached image is the desired, correct rendition.&nbsp; So there is hope for my project! Now why do you think I don't get it in IDLE (Win XP, Win 200).&nbsp; Any suggestions on what I should investigate to fix this?</div>  <div>&nbsp;</div>  <div>The Tk "Python Shell" window shows:</div>  <div>Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] on win32</div>  <div>IDLE 1.1.3&nbsp;&nbsp; <BR></div>  <div>Thanks,</div>  <div>vjktm</div>  <div><BR><B><I>Andy Robinson &lt;[email protected]&gt;</I></B> wrote:</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Vijaya Poudyal wrote:<BR>&gt; Hi Andy,<BR>&gt; I tried my example at the command prompt in XP and Xbash (cygwin). <BR>&gt; Python cannot decode the unicode in both cases. In IDLE I get the wrong <BR>&gt; rendering. I was not able to th
 e "renders ... exactly the same ..." <BR>&gt; behavior you mentioned.<BR>&gt; <BR>&gt;
 When you say kSa.encode('utf8') do you get "Hello" followed by two <BR>&gt; characters joined along the top or just one character (as in the html)? <BR>&gt; When I run it I get two characters and this is a wrong rendering of the <BR>&gt; code point sequence.<BR><BR>I get exactly the same thing in both, attached. I called this 'one <BR>character' in my ignorance, but I guess the characters get combined.<BR>Strangely, if I move the cursor through it with right-arrow key, it <BR>"explodes" into 3 characters while it has the focus - these are the same <BR>ones in the unicode standards sheets for those bytes. But normally it <BR>appears as above.<BR><BR>Best Regards,<BR><BR><BR>Andy<BR></BLOCKQUOTE><BR><p>&#32;
		<hr size=1><a href="http://us.rd.yahoo.com/evt=43256/*http://advision.webevents.yahoo.com/mailbeta"> All-new Yahoo! Mail </a>- Fire up a more powerful email and get things done faster.
--0-1134769057-1157765173=:86593--

--===============1690888945==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
I18n-sig mailing list
[email protected]
http://mail.python.org/mailman/listinfo/i18n-sig

--===============1690888945==--