NumToChar - charToNum for UTF8

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
atout66
Posts: 266
Joined: Wed Feb 02, 2011 12:31 pm

NumToChar - charToNum for UTF8

Post by atout66 » Fri Mar 28, 2014 9:21 am

Hi to all,

I follow my topic "encoding a var versus UTF8" which you can find here: http://forums.runrev.com/viewtopic.php?f=7&t=19732

My question:
Is there a function similar to <numToChar> and <charToNum> (for ASCII values) for unicode characters ?
Something like numToCharUTF8() and charToNumUTF8()... or an array of UTF8 characters in which to look ?

Thanks in advance.
Discovering LiveCode Community 6.5.2.

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4163
Joined: Sun Jan 07, 2007 9:12 pm

Re: NumToChar - charToNum for UTF8

Post by bn » Fri Mar 28, 2014 9:53 am

Hi atout,

I am not of much help here but I would like to point you to these websites

http://livecode.byu.edu/indexgeneric.php

http://livecode.byu.edu/unicode/encoding.php

http://livecode.byu.edu/unicode/unicodeInRev.php

They give you some introduction to unicode and LiveCode in its present versions

Starting with Livecode 7 (a very early beta is out) this will hopefully all be easier.

Kind regards
Bernd

AZSun
Posts: 30
Joined: Tue Mar 20, 2012 10:44 pm

Re: NumToChar - charToNum for UTF8

Post by AZSun » Fri Mar 28, 2014 4:35 pm

Hi, I think the tutorial in my unicode post addresses your question. http://forums.runrev.com/viewtopic.php?f=7&t=16948

It does not look like step #3 has been updated yet in the tutorial. The correct code was given to me via e-mail from tech support and I posted it in the thread. Then everything worked fine.

atout66
Posts: 266
Joined: Wed Feb 02, 2011 12:31 pm

Re: NumToChar - charToNum for UTF8

Post by atout66 » Fri Mar 28, 2014 9:01 pm

Thanks to all of you. I follow your links to see...

After reading, I found them very, very helpfull.
Specially that one: http://livecode.byu.edu/unicode/unicodeInRev.php
and the tutorial also... :wink:
Discovering LiveCode Community 6.5.2.

Post Reply