/    Sign up×
Community /Pin to ProfileBookmark

Charset utf-8 vs. iso-8859-1

I am trying to implement a website in Greek. It seems that I need to specify utf-8 as the charset in order to render the Greek Alphabet.

However if I want to include the link to the Greek language version of the site, with the text “Ελληνικα” in the top-right corner of each page in other languages. I will also need to change the charset to UTF-8 on all the other pages of the website aswell (English, Spanish, French, & Portuguese).

So my question is, if I change the Charset on these pages from iso-8859-1 to UTF-8, will it mess with any of the text on thsoe pages?

If so then I will not risk it and just write the link in English i.e. “Greek”.

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@CharlesFeb 28.2012 — iso-8859-1 is a subset of utf-8 so you will be good to go.
Copy linkTweet thisAlerts:
@Jeff_MottFeb 28.2012 — iso-8859-1 is a subset of utf-8 so you will be good to go.[/QUOTE]

Well... almost. The ASCII part, yes. But the 8859 chars from 128 to 255 are not valid UTF-8 characters.

TonyLoco23, to make those other pages UTF-8, there are two things you need to do. First, open your pages in Notepad++ (or some other capable editor), and select Encoding > Convert to UTF-8 without BOM, and save. And second, add the meta charset, which tells the browser how this page has been encoded.
×

Success!

Help @TonyLoco23 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.15,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...