[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 149
  • Last Modified:

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 ?
0
fischermx
Asked:
fischermx
1 Solution
 
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
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.

 
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now