Ken,

I fully agree. The byte chunk exists already in RunRev. The all- unicode approach would be similar not only to Python but also AppleScript. It would be awesome if chars would refer to actual unicode glyphs.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com

Submit your software products to http://www.quickestpublisher.com and get found!

If you sent me an e-mail before 8th July and haven't got a reply yet, please send me a reminder.








On 17 jul 2009, at 21:31, Kee Nethery wrote:

I like what Python decided to do with Unicode. There is no more ascii text in Python 3.x, all text is unicode. Seems like the best solution to me. No deciding whether this or that function supports unicode, they all do. The only difference is that you need a new term to stand in for a byte in a data stream, for example

select byte 2 to 7 of thestuff
vs
select char 2 to 7 of thestuff

byte 2 to 7 would give you 6 bytes of data.
char 2 to 7 would give you 6 or more bytes because you don't know (or care) how the characters are represented, could be UTF-8, UTF-16, etc.

If you deal with characters and words and lines, you are always dealing with complete unicode characters.

Just my 2 cents.
Kee Nethery

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to