Re: Support for Devanagari Script

Andy Robinson <[email protected]> Sat, 09 Sep 2006 00:12:10 +0100
Newsgroups gmane.comp.python.internationalization
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------080908060606010501070508
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

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

--------------080908060606010501070508
Content-Type: image/png;
 name="dev.png"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filename="dev.png"

iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAIAAAD/gAIDAAAAAXNSR0IArs4c6QAAAARnQU1B
AACxjwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAA
AAlwSFlzAAASdAAAEnQB3mYfeAAAAw9JREFUeF7tm9txqzAURbndURAzqSP/VJAmSBX5pYAU
QRAisniZs3MtkGaWJz92NuZoaemAnejfMAwVDyOBERYPI4HKmCPmliAU7ASAZWflzerb96r5
shyVImk5bx6ZYFb3UVVvVf3Zn9aVInl60iwCq2XYf9YjsuqjOy0uRfL0pDcH9nvWV+OQvbfn
mqVI3ozk+PTPGvx3W4/I3ppzzVIkM0R2AKtrjGYNKZIZcppKWsNK4Yj9PXOlNNf1gJWi+9jf
M3NMvrxwn2W5Avo7slcni+C0uwzLqfyGSvm4I0AHFrAEAkIUs4AlEBCimAUsgYAQfZ1Z3fhX
oqFuf8+9eiqUlG90gjUNbPvlQt/uv74/GmDtQrwCVj/UlZuqUEDz+9S/OP50lyuYqVkOTeNg
eLsDl9XTi3HJsNp6ntj13BqWYXxsVQ/98VhdcoLVNUOcLAlWmPB5GPFaOIPljo0AeXBPvrh2
mDZL764F6Kf1YdZRZaHx++ofw5vayuHlb8lufex07hj9SjKf33alYsxyLizXzmK0T83aHjvS
8XLt9OmDq/O2heXbs7bXIyfj1FnC/ceRaKs1OB9h0MepFM1QwWYtJvZ1ZsVEVuu3GFi+0MOW
/BTWTs/yd1JBzBj89CvfK73OQdhiYIUus+jxtmUYhh061GHDmqh5KH5u4n5XEqx4GG4wcb8/
u3UIrOfL7tP7rIVnkdEZwLr4olLs6V73rUOxCOyFA8vOin+TFFgBC1gKASFLzwKWQECIYhaw
BAJCFLOAJRAQouywUGG5fIp9E/b3FCq+McoOCwE+Oyz+G5Z/A/v/r6dICoO4KsoOC4E0Oyz+
BMu+GyJFUij5vig7LAT2fNwBlkBAiGIWsAQCQhSzgCUQEKKYBSyBgBDFLGAJBIQoZgFLICBE
MQtYAgEhilnAEggIUcwClkBAiGIWsAQCQhSzgCUQEKKYBSyBgBDFLGAJBIQoZgFLICBEMQtY
AgEhilnAEggIUcwClkBAiGIWsAQCQhSzgCUQEKKYBSyBgBDFLGAJBIQoZgFLICBEfwAVugxk
amG+RAAAAABJRU5ErkJggg==
--------------080908060606010501070508
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

--------------080908060606010501070508--