Reply to Re: Apostrophe Character on a Mac ?

Your name:

Reply:


Posted by Jukka K. Korpela on 12/25/06 21:10

Scripsit - Bob -:

>> Then you would make a wrong suggestion. The question alone indicates
>> that the OP is not ready for using UTF-8 yet.
>
> What would your suggested solution be Jukka?

For the apostrophe, ’ is OK. Using the Ascii apostrophe " would be
even more reliable, at the cost of using an orthographically wrong
character, but everyone and his brother have been doing that on the Web for
years.

> The UTF-8 solution worked for the
> platforms I tested on (Mac, Win) but my testing is still narrow.

Well, I cannot help with testing, since you didn't specify a URL.

Using UTF-8 just for the sake of some apostrophes sounds overkill, but if
your server sends the correct HTTP header and you also declare the encoding
in a <meta> tag, it's of course a feasible approach, too. But are you sure
that you, and others who might edit the pages, will be able to use a UTF-8
enabled editor in all circumstances and will remember to keep UTF-8 as the
encoding when saving an edited copy?

The original question sounded like you had used windows-1252 (Windows Latin
1) without declaring the encoding. That would typically result in wrong
display in some (relatively rare) situations.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация