Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
[PS] Displaying special characters
This thread has 6 replies. Displaying all posts.
Post 1 made on Saturday September 22, 2007 at 19:44
Marc-Etienne HUNEAU
Long Time Member
Joined:
Posts:
August 2007
80
The pronto guide's last pages are of little use : they show code pages... but only "?" signs.

Does anyone have the real thing ?

I'm too lazy to write a program to show these on the pronto for me to choose from. :-)
--
Marc-Etienne HUNEAU
http://www.dsr.fr
Post 2 made on Saturday September 22, 2007 at 22:30
Peter Dewildt
Loyal Member
Joined:
Posts:
July 2001
6,307
I can see all the codes except that F032 to F0FF are all squares.

Do you have the latest version of Acrobat Reader? That could be your problem.
Peter
Pronto 1000 (retired), Pronto TSU7000, RFX6000 (retired)
Pronto 2xTSU9600, RFX9400
Post 3 made on Sunday September 23, 2007 at 02:25
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,999
The PDF is pretty much useless as the Pronto.ttf font was not embedded in it.

Run charmap.exe on a windows machine to determine the low-order byte needed for unicode encoding. For example, the DTS symbol is 254 or 255 which is 0xFE or 0xFF.

To get this symbol to display on the the pronto from script, you must use unicode characters in a string and prefix with the code group 0xF0 as follows '/uf0fe' or '/ufoff'.
Lyndel McGee
Philips Pronto Addict/Beta Tester
Post 4 made on Sunday September 23, 2007 at 10:35
Barry Gordon
Founding Member
Joined:
Posts:
August 2001
2,157
I ran into a related problem which I have reportred to Philips. Take a string containing ASCII characters. copy it to a widget label and character codes like ascii 174 (the registered symbol) or ascii 96 (the apostrophe) display correctly. Take the same string and break it down in to lines (may not be necessary, but it is what failed for me) storing each line into an element of an array. Each element of the array should now be typed as a string. Copy each line to the widget of a label (I appended \n as line breaks to each word) as wlabel+=wlabel+array[i]+"\n" and suddenly funny (I suspect Unicode) characters appear for the symbols like ascii 96 and ascii 174.

I do not believe this should be happening whatever the code type. It is not logical.

Last edited by Barry Gordon on September 23, 2007 13:24.
OP | Post 5 made on Sunday September 23, 2007 at 10:53
Marc-Etienne HUNEAU
Long Time Member
Joined:
Posts:
August 2007
80
Thanks Lyndel, I didn't know I was to include the F0 prefix.
--
Marc-Etienne HUNEAU
http://www.dsr.fr
Post 6 made on Saturday December 29, 2007 at 10:33
frankbe
Long Time Member
Joined:
Posts:
December 2007
10
I,ve got the same problem:

I have a text like "test äöü" in a variable x , if i print this with System.print(x) on the
Debug panel everything is correct. if put this var in a label like widget("test").label=x;
i got utf-8 chars, which are not correct.

Is there a workaround for this ?
Post 7 made on Saturday December 29, 2007 at 14:49
Barry Gordon
Founding Member
Joined:
Posts:
August 2001
2,157
Not at this time AFAIK. I had to add special code just so it would look somewhat reasonable. Philips is aware of the problem.


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse