I've been toying a bit with the L macro - it sure makes life easier
when dealing with unicode strings :). However, I cannot seem to
find a way to get backslashes into my unicode strings? :confused:
Posted on 2001-09-04 21:11:30 by f0dder
Ahhh, here's the hidden secret codes:

; Special codes:
; \0 trailing zero
; \| exclamation point '!'
; \n new line (13,10)
; \\ single backslash '\'

And if you forget them, they are at the top of the source code in l.inc ;-)
Posted on 2001-09-04 22:08:06 by Ernie
Ok, I got it working :). Right after the newline check

;; check for an "n" (new line)
IFIDN <&chr>, <n>
str CATSTR str, <13,10>
flag CATSTR <done>

I added

;; check for a "\"
IFIDN <&chr>, <\>
str CATSTR str, <"\">
flag CATSTR <done>

--- and now I can use a \\ inside the macro to get a unicode backslash
in the output.
Posted on 2001-09-04 22:09:31 by f0dder
I must have been using an old version of L.inc, ernie? Before I did
the manual edit of L.inc, I sure as "the place where bad folks go
when they die" couldn't use double backslash :/.
Posted on 2001-09-04 22:14:16 by f0dder
Gee, I dunno. Maybe I just intended to add that into the macro code.

Whatdoyawant for nuthin? Rububububer biiiiiiiskets?
Posted on 2001-09-05 07:08:51 by Ernie