Mixt 'normal' and unicodeText in a field ???
Björnke von Gierke
bvg at mac.com
Sat Feb 13 06:35:57 EST 2010
put uniencode("and") into theText
set the useUnicode to true
set the unicodeText of fld "fKRAP" to numToChar(353) && theText && numToChar(353)
On 13 Feb 2010, at 12:07, Richmond Mathewson wrote:
> Cripes, I must be bonkers . . . :)
>
> Not really, just a bit cheesed off when I want to put something 'sophisticated' such as 'and'
> in between 2 unicode chars in a field where useUnicode is set to true I have to define it
> by numToChar(XXX) for each constituent character.
>
> For example:
>
> I wish to put unicode char numToChar(353) followed by ' and ' followed by numToChar(353)
> in a textField and I develop serious repetitive stress syndrome pumping out all those
> numToChars for space - a - n - d - space; a right mug's game!
>
> So, naively, I tried this:
>
> set the useUnicode to true
> set the unicodeText of fld "fKRAP" to numToChar(353) & " and " & numToChar(353)
>
> and, while I got my 2 "353s" they were separated by Chinese chars (presumably
> because the " and " is read as double-byte chars).
>
> Bright ideas (not excluding "Go out and climb the hills for 3 days") welcomed.
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list