RE: pilrc rcp files and chinese characters

2003-08-14 Thread Ken Krugler
Hi there,

I'm answering this based on some slightly out-of-date pilrc source 
that I've got, so it might not be accurate for the latest version.

}I saw that pilrc supports GB/BIG5. Now which characterset must=20
}my rcp file be in? I mean, it could be UTF-8 or BIG5 or=20
}whatever.
It has to be in the corresponding Windows code page, which is what 
Palm devices typically use for their charset. So if you're doing 
Big-5, then the input text is CP950 (basically Big-5), and so on.

How do I tell pilrc which characterset I used to=20
}encode my rcp file... Or is it always a certain format and=20
}some escape sequences. In Java for example you can encode=20
}unicode characters like so: "\ua0b0" (unicode character 0xa0b0).
Check out the pilrc manual's description of the -F command 
line parameter. For example -F5 for Big-5, -Fg for GB. Based on this 
setting, pilrc assumes that the input file uses the corresponding 
character encoding.

-- Ken
--
Ken Krugler
TransPac Software, Inc.

+1 530-470-9200
--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


RE: pilrc rcp files and chinese characters

2003-08-01 Thread Hendrik Schreiber
Hi,

there must be a very simple answer to this Anyone...?

Thanks in advance,

-hendrik

}-Original Message-
}From: Hendrik Schreiber 
}Sent: Thursday, July 31, 2003 17:09
}To: Palm Developer Forum
}Subject: pilrc rcp files and chinese characters
}
}
}Hi,
}
}I saw that pilrc supports GB/BIG5. Now which characterset must 
}my rcp file be in? I mean, it could be UTF-8 or BIG5 or 
}whatever. How do I tell pilrc which characterset I used to 
}encode my rcp file... Or is it always a certain format and 
}some escape sequences. In Java for example you can encode 
}unicode characters like so: "\ua0b0" (unicode character 0xa0b0).
}
}Thanks for you help,
}
}-hendrik
}
}-- 
}For information on using the Palm Developer Forums, or to 
}unsubscribe, please see http://www.palmos.com/dev/support/forums/
}

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/