Hi Dan -
I had this problem in a project about 2 years ago - (imported XML had
box chars)
It's probably <LF> chars from a PC & once they get into Director's
mac-based text world, they display as box chars on both plats.
my solution:
get one of these chars (usually the first char in a line) & use
charToNum to get it's 'num' so you know what you are looking for (I
seem to remember it was a 9 or an 11).
Then import an test RTF file & run it through a repeat loop to clean it.
(if they are only occurring at the beginning of lines, you can get a
line at a time (line-chunk) & then just test it's first char.
hth
-Buzz
At 5:26 PM +0100 8/16/05, you wrote:
Hi List,
I am working on a previously developed project that reads in RTF (rich
text files) dynamically via XML - the problem that I am having is that
when director is displaying them I am ending up with square characters
or hook like characters instead of spaces... this is occuring on both
Mac and PC!
When you read the files outside of director the appear as you would
expect them to with no weird characters!
Anyone got any suggestions? I thought it might be the format they have
been supplied in - but I am now strongly thinking it is a Director thing!!!
Any alternative solutions would be kindly accepted! I have until 6am GMT
to figure this out!
Cheers,
Dan ;)
[To remove yourself from this list, or to change to digest mode, go
to http://www.penworks.com/lingo-l.cgi To post messages to the
list, email [email protected] (Problems, email
[EMAIL PROTECTED]). Lingo-L is for learning and helping with
programming Lingo. Thanks!]
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]