Re: escape special characters in HTML
Re: escape special characters in HTML
- Subject: Re: escape special characters in HTML
- From: Sherm Pendley <email@hidden>
- Date: Thu, 16 Nov 2006 08:36:53 -0500
On Nov 16, 2006, at 8:11 AM, Dominik Pich wrote:
I have the Problem of not being able to encode Special character
like for ex. the German ü or ä in HTML... Id need to escape them as
ü or ä IIRC....
You only need to use the character entities if you're using a text
encoding that doesn't support those characters natively, such as ASCII.
Surely there is an easy way of doing that?
Yes, there is - don't do it at all. :-)
Just include the characters directly in your HTML, and save it using
an encoding that supports them, such as ISO-8859-1 or UTF-8. You'll
also want to configure your web server to return the correct Content-
type charset - for example:
Content-type: text/html; charset=ISO-8859-1
So, what was your Cocoa question?
sherm--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden