468,514 Members | 1,625 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,514 developers. It's quick & easy.

Greek Cyrillic fonts in XML

Hello,
I'm trying to find a way to display text in greek or cyrillic in a .NET
page using text stored in XML format. I'm getting the greek words
displayed like this: "Διάφορα". I'm no expert but this is nota
greek word. Has anybody got any ideas of what i need to use to diplay
these fonts (i think Russian is in the same category too) correctly on
the website? - i will carry on searching and will post the answer if i
find anything.

Thank you
K

Nov 12 '05 #1
4 2123
Kiki wrote:
I'm trying to find a way to display text in greek or cyrillic in a .NET
page using text stored in XML format. I'm getting the greek words
displayed like this: "Διάφορα". I'm no expert but this is not a
greek word. Has anybody got any ideas of what i need to use to diplay
these fonts (i think Russian is in the same category too) correctly on
the website? - i will carry on searching and will post the answer if i
find anything.


You need to set correct codepage, e.g. UTF-8. Διάφορα looks like
posiibly Greek word browsing as Latin-1.

--
Oleg Tkachenko [XML MVP, MCAD]
http://www.xmllab.net
http://blog.tkachenko.com
Nov 12 '05 #2
Hi Oleg,
this is what i've done:
Response.Charset = "Windows-1253";
Session.CodePage =1253;
Response.ContentEncoding = Encoding.GetEncoding(1253);

but it's not working.. :( - am i setting this correctly?

Thank you for your response..

K

Nov 12 '05 #3
Kiki wrote:
this is what i've done:
Response.Charset = "Windows-1253";
Session.CodePage =1253;
Response.ContentEncoding = Encoding.GetEncoding(1253);

but it's not working.. :( - am i setting this correctly?


Are you sure your data is actually in Windows-1253 encoding?

--
Oleg Tkachenko [XML MVP, MCAD]
http://www.xmllab.net
http://blog.tkachenko.com
Nov 12 '05 #4
I was only asked to display the data this guy's sending me through and
that's what he told me it was.. Is there a way for me to check? (i'm
sorry about this but this is the first time i've had to do something
like that)
Thanks again

Nov 12 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

35 posts views Thread by Philipp Lenssen | last post: by
27 posts views Thread by alexdoulou | last post: by
1 post views Thread by | last post: by
10 posts views Thread by Nikolay Petrov | last post: by
5 posts views Thread by eisenstein | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.