[futurebasic] Re: [FB] CR in plist-xml

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 2004 : Group Archive : Group : All Groups

From: "H. Gluender" <h@...>
Date: Sat, 4 Sep 2004 11:24:08 +0200
With respect to my request:

>  knowing only some utf-8 coding, I should very much like to know
>  whether and how it is possible to enter a "Carriage Return" in a
>  info.plist text that then can be correctly recalled and displayed as
>  a CFString

>  I know that the CR has the 7 bit ascii-code of 13 but obviously it's
>  a non-printing "character" that should be represented as printing
>  characters in plist-xml. I also know how to handle non-ascii
>  characters in plist-xml, but...

Robert Purves wrote:

Does this work?

<string>First line
Next line</string>

***********************

Dear Robert, thank you for pointing to the evident!

However, things aren't so easy if you're used to complicate them...

I use BBEdit to edit xml and let BBEdit compact the code before 
entering it to the resource. Of course BBEdit removes the CR during 
compaction!

Thank you for making me re-think what I'm actually doing!

Best
-- 


                   Herbie

          ------------------------

          <http://www.gluender.de>