jeff
Martin Skopp wrote:
Hi Jeff,
On Fri, 2003-11-07 at 01:11, Jeffrey Bonevich wrote:
I have a character encoding utility that turns high ASCII (i.e. ord value > 127) into HTML entities (so 'Ã' which is unicode \u00e0 becomes 'à'). In the code there is one big ol' honkin' switch statement with each high ascii character (that I care about) as a case, so:
switch( chr) { case 'Ã': buf.append("à"); break; ....
After a few of our developers here changed from Win32 to Linux machines, we had even worse problems with encodings, since some diffferent editors on the different OS had different default encodings. It could be a real pain to do it, but I would recommend you anyway to change your code to
switch( chr) { case '\u00e0': buf.append("à"); break; .... /* char=Ã */
cu,
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
