Posted by Dan on 12/21/06 19:53
- Bob - wrote:
> I thought the apostrophe/sinngle quote was a safe character to use,
> but I just ran into a Mac use who had it showing up as a question mark
> (unknown character). Coding it as a ’ fixed the issue.
>
> Is this a problem unique to this user... or is it a regular issue when
> producing in a Windows standard character set and displaying on a Mac
> ? Do I need to get smarter about declaring the right character set ?
> Or do I need to encode all apostrophes ?
It depends on what character encoding your server declares your pages
to be in. If it's iso-8859-1, this does not contain the character
you're trying to use, so any attempt to insert it as a raw 8-bit
character instead of encoded will actually represent a control
character instead in accordance with the specs, and it's then up to the
tender mercies of whatever the receiving system might decide to do with
it. The Windows special characters that are not in the ISO character
set are platform-specific and differ in other systems such as MacOS or
Linux.
--
Dan
[Back to original message]
|