Unicode in variables

Richmond richmondmathewson at gmail.com
Mon Aug 19 15:41:35 EDT 2013


On 08/19/2013 10:31 PM, J. Landman Gay wrote:
> On 8/19/13 2:21 PM, Richmond wrote:
>> "LF:    Line Feed, U+000A
>>   VT: Vertical Tab, U+000B
>>   FF: Form Feed, U+000C
>>   CR:    Carriage Return, U+000D
>>   CR+LF: CR (U+000D) followed by LF (U+000A)
>>   NEL:   Next Line, U+0085
>>   LS:    Line Separator, U+2028
>>   PS:    Paragraph Separator, U+2029"
>>
>> I have a feeling that a search and replace routine should trawl through
>> your target text
>> and replace ALL the above with numToChar(10).
>
> Thanks for your trouble Richmond. I just did a replace on 
> numtochar(13) and it worked okay.
>
> I swore I would not touch unicode until the rewrite was done. Famous 
> last words.
>

Personally I don't know what all the fuss is about: Unicode 'as is' or, 
maybe 'as was', i.e. LC 4.5 works just fine for my purposes.

Richmond.




More information about the use-livecode mailing list