Is it possible to display diferent languages characters on same page ?

I making some tests towards a bigger project and for example, I can put chinese characters by adding the charset=gb2312  and they display just fine.

I can even add now some Russian characters under the same charset and seems they're displaying fine.
But now, I add some arab characters to same page and now they just don't display fine, other characters, similars, but no the same are display.
I wonder, if this I'm doing is really possible, first of all ? Also, why the gb2312, which I thought was the chinese charset also helps to display russian characters ?
LVL 1
fischermxAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

fischermxAuthor Commented:
Addition :

If I change the charset to charset=windows-1256, which I took from an arab page, now Chinese are shown as little boxes, russian still displaying fine, and arab characters are now displayin correctly, but it seems in reverse order of what I pasted from an arab site ...

0
gruntarCommented:
Best way to show different character sets on same page would be by using UTF-8 encoding. to try this open editor, set encoding to UTF-8, write few paragraphs and then save as UTF-8. Now open your document and you should see all chars to show up as they should.

Regards
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

cristy56Commented:
if u are using asp, u can add

<%@codepage=65001 language=vbscript>
<% response.charset=UTF-8 %>

and also save this asp file type as UTF-8 instead of ANSI.


Cristy
0
fischermxAuthor Commented:
Gruntar .

Thanks, that did the trick, saving the page as UTF8, allow me to show different characters in same page.
However, my doubt now is about that UTF8 encoding, I would say, reading the "8", that it would be something liimited to one byte per character (8-byte), but well, it seems it doesn't.
So, what does this UTF8 stands for ?

0
RMaruszewskiCommented:
0
gruntarCommented:
check link posted by RMaruszewski :)

Cheers
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.