Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Spanish characters in HTML

Posted on 2014-12-22
10
Medium Priority
?
150 Views
Last Modified: 2014-12-29
I uploaded some Spanish web pages someone else provided and I'm seeing many unrecognized characters.

http://bible-truths.com/Spanish/LOFp16D2.htm

I add <meta charset="UTF-8"> thinking that would help but they still don't look right.

What do I have to do to make these pages look good?

Thanks
0
Comment
Question by:NDennisV
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 82

Expert Comment

by:hielo
ID: 40513403
You need to save the contents of the html file as utf-8.  Does your editor have the option to save the content in UTF-8 encoding? If not, try a different editor like Notepad++.
0
 
LVL 61

Expert Comment

by:HainKurt
ID: 40513426
add this

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
...
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

if this one does not help, looks like you have same issue i had before... files are saved as ASCII and browser cannot detect it correctly... no matter what you do with meta/charset, it does not fix... so make sure you saved the files correctly...
0
 

Author Comment

by:NDennisV
ID: 40514202
"files are saved as ASCII"

I use Frontpage - It's old but should save correctly.

But I'll do some testing and get back here in a few days.

Thanks
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:NDennisV
ID: 40514701
Opening the HTML file in my browser (not preview) from within FrontPage, it all looks perfect.

But after I upload the same file and run it in the same browser (Chrome) I see all the unknown characters.

I make some small changes to make sure I'm looking at the most recent uploaded file.

Any ideas why?
0
 
LVL 61

Expert Comment

by:HainKurt
ID: 40515118
just save files in UTF-8... file > save as and here there should be some settings... do not use ASCII
or use any other editor like (Notepadd++, even Notepad)  and open your files one by one and save them in utf-8 format...
0
 

Author Comment

by:NDennisV
ID: 40515185
I do not have an "UTF-8" option to "save as" in FrontPage.

Thanks
0
 
LVL 58

Expert Comment

by:Gary
ID: 40515215
It should already be saving them in UTF anyway.

Can you attach a copy of the relevant page here (not post but attach)
0
 
LVL 61

Expert Comment

by:HainKurt
ID: 40515310
I do not have an "UTF-8" option to "save as" in FrontPage.

then use notepad! after saving with frontpage, open them with notepad and save with utf-8
0
 
LVL 82

Accepted Solution

by:
hielo earned 1500 total points
ID: 40515501
>>I do not have an "UTF-8" option to "save as" in FrontPage.
Save current document to UTF-8
Format > Background > Language > HTML encoding > Multilingual (UTF-8)
Set default encoding to UTF-8
Tools > Page Options > Default Font > Multilingual (UTF-8)
0
 

Author Comment

by:NDennisV
ID: 40517342
Please give me a few days hielo.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question