The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Web Design
> HTML Programming
|
Special characters
Discuss Special characters in the HTML Programming forum on Dev Shed. Special characters HTML Programming forum covering discussions of HTML and XHTML, as well as HTML-related issues such as writing W3C Compliant code. Use HyperText Markup Language for building websites.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

July 18th, 2012, 12:02 PM
|
|
|
|
Special characters
OK, I need to create a web site in 3 languages . . . English, Spanish, Portuguese. The translations will be done for me. I was wondering, when coding the page, do I need to use HTML entities for the special characters in this language? Or, is there an easier way to do this?
Also, do I need to implement a specific doctype for the other languages?
that's it
thanks!
|

July 18th, 2012, 03:51 PM
|
 |
Lost in code
|
|
|
|
|
If everything is encoded using UTF-8 you shouldn't need to do anything differently for the different languages.
|

July 18th, 2012, 04:28 PM
|
|
|
|
hey E-Oreo
Thanks for the reply. I don't have the translations yet, but I will give your response a try.
thanks again 
|

July 23rd, 2012, 04:33 AM
|
|
Registered User
|
|
Join Date: Jul 2012
Posts: 1
Time spent in forums: 46 m 6 sec
Reputation Power: 0
|
|
|
Web Designing Company
Hello,
i'm agree with E-oreo , you need to encoding by using UTF-8 for different language.
Regards
|

February 14th, 2013, 03:21 PM
|
|
|
|
OK, my accented letters don't appear properly
OK, my header looks has this code:
Code:
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="es"> <meta charset="UTF-8" />
And in the navigation, I have the following text, "OTIZACIÓN"
Unfortunately, the "Ó" and other Spanish letters with accents, show a diamond icon where these letters are supposed to be.
The site has a bit of Spanish text, and I don't want to comb through and apply HTML entities throughout the site.
Is there a way I can cut and paste the text into a page for the web, without having to implement HTML entities for every special character? This could save me a day of work.
thanks 
|

February 14th, 2013, 05:47 PM
|
 |
Lost in code
|
|
|
|
|
Make sure that your editor is configured to save the file in UTF-8.
|

February 14th, 2013, 05:47 PM
|
|
|
|
Just figured it out
OK, I'm using BBEdit, which I really like. I have to save my document as "Unicode UTF-8, no BOM" and everything is working properly for the Spanish text.
Thanks for the previous comments.
I hope this helps others.
-S
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|