I just thought I should pipe up here and add something to this.
These 'bad characters' that we're talking about are being caused by unicode characters 
being inserted by various Microsoft products.
Traditionally, characters were stored in a single byte and could have a value (their 
ascii value) between 0 and 255.
Unicode allows two bytes to be used, which gives valid ascii value ranges up to 65 
thousand odd.
If you find the ascii values of some of these weird quote characters, you'll find that 
they have values up in the thousands.
Most fonts only define at most 256 characters (often much less) and so these unicode 
characters get drawn as a small square box, to signify that they cannot be rendered by 
that font.

So you get side effects, when these characters creep in, of getting square boxes in 
your output sometimes.

The other more serious side effect you can get depends on what database you are using.
If your database is a little older (like the one we use here) and doesn't support 
unicode characters, then any attempt to put one of these characters into the database 
will lead to very attractive errors being generated.

Just something to be aware of.

Regards

Darren Tracey

> -----Original Message-----
> From: barry.b [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 4 March 2004 9:25 AM
> To: CFAussie Mailing List
> Subject: [cfaussie] RE: Bad Characters
> 
> 
> just a quick Q, though.
> 
> wouldn't it be better to replace the extended-set chars with 
> more common
> equivs?
> 
> I haven't tried it out yet but what id the same "word text" 
> was sent to
> Flash via remoting? will it pick up the extended chars ok without the
> "little squares"?
> 
> just a thought
> barry.b
> 
> PS: I was at an internet cafe the other day when: 's 
> (exended-char single
> quote and the letter s) rendered as a chineese char all down 
> the pages.
> wierd!
> 
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to 
> [EMAIL PROTECTED]
> 
> MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
> http://www.mxdu.com/ + 24-25 February, 2004
> 

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to