Home Download Buy Blog Forum Support

How to save using UTF-8

How to save using UTF-8

Postby ienakiko on Mon Feb 13, 2012 6:11 am

Hi!!

how can I save my html files with UTF-8 encoding??

I need to use special characters like àñòìó, etc
But when I preview in the browser I see just strange characters instead

I have tried File>reopen with encoding> UTF-8, but it does´t work

pleas help

thanks!!
ienakiko
 
Posts: 11
Joined: Tue Jan 17, 2012 7:16 am

Re: How to save using UTF-8

Postby Hertz on Mon Feb 13, 2012 7:20 am

Well, default_encoding is set to UTF-8 "by default".
Maybe you've forgotten a <meta> tag?
Hertz
 
Posts: 3
Joined: Sun Feb 12, 2012 10:09 pm

Re: How to save using UTF-8

Postby jps on Mon Feb 13, 2012 7:27 am

Check your browser is reading the file using UTF-8, too
jps
Site Admin
 
Posts: 3062
Joined: Wed Mar 19, 2008 12:33 pm

Re: How to save using UTF-8

Postby ienakiko on Wed Feb 15, 2012 2:56 am

sorry, there was a typo on the meta tag charset

thanks!!
:mrgreen:
ienakiko
 
Posts: 11
Joined: Tue Jan 17, 2012 7:16 am

Re: How to save using UTF-8

Postby jjz on Sat Feb 18, 2012 10:40 pm

My problem seems similar.

I want to include Greek characters in an html file, charset UTF-8. The characters look fine in Notepad++ and render as expected in my browsers. In Sublime2 however the characters appear as boxes. Any ideas what I'm doing incorrectly?

The characters by the way are ἀλλ᾿ ὅτ᾿ ἂν ἡμίονος βασιλεὐς
jjz
 
Posts: 2
Joined: Sat Feb 18, 2012 10:29 pm

Re: How to save using UTF-8

Postby svenax on Sun Feb 19, 2012 9:03 am

Maybe you are using a font that doesn't have Greek characters?
svenax
 
Posts: 149
Joined: Tue Dec 20, 2011 12:47 pm

Re: How to save using UTF-8

Postby jjz on Mon Feb 20, 2012 8:33 am

Cool, thanks for that. I thought the font I was using did support Greek but changing the font now has fixed my problem. Forever grateful.

jjz
jjz
 
Posts: 2
Joined: Sat Feb 18, 2012 10:29 pm


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 12 guests