[NTLK] NSBasic Help Needed
Doug Denby
ddenby at rogers.com
Sun Feb 14 22:34:58 EST 2010
Yep, I knew that. What I didn't check was the zTerm "No Extended Chars (Strip Hi Bits)" check box under the settings menu. Seems it defaults to true, and that was my difficulty. Damn. Spent a week trying to figure that out.
Also just discovered the "environ printDepth" variable which helps a great deal. It expands the frames and arrays within a record's frame for printing. Unfortunately it doesn't handle the frames and arrays involving pictures or polygons or ink or ink2. Still struggling with those.
Doug
On 2010-02-14, at 4:47 PM, Matej Horvat wrote:
>> Looking for solutions to this problem. I need a general solution
>> as the cedilla is not the only character that is a problem. The
>> same thing happens with French characters as well.
>
> So, if I understand correctly, you are attempting to transfer text but certain Unicode characters are being annoyingly replaced, right?
>
> You should be able to encode a Unicode character in a string like this:
>
> \uHHHH\u
>
> where HHHH represents a hexadecimal number. For example, "\u0021\u" is the same as "A" because 65 (21 in hexadecimal) represents the uppercase Latin letter A. The cedilla sign would therefore be "\u00e7\u".
>
> On the Mac, do a find & replace each time you are transferring text to or from the Newton.
>
> I hope that works. The "Programming for the Newton Using Windows" book says so.
>
> -Matej Horvat
>
>
>
>
>
> ====================================================================
> The NewtonTalk Mailing List - http://newtontalk.net/
> The Official Newton FAQ - http://splorp.com/newton/faq/
> The Newton Glossary - http://splorp.com/newton/glossary/
> WikiWikiNewt - http://tools.unna.org/wikiwikinewt/
> ====================================================================
More information about the NewtonTalk
mailing list