472,779 Members | 2,627 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,779 software developers and data experts.

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 2259
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

35
by: Philipp Lenssen | last post by:
Does anybody have experience displaying Cyrillic in common browsers with common settings? I found the following page researching the topic, however I cannot display all characters in the table...
27
by: alexdoulou | last post by:
Hello, I am trying to type greek fonts into common html forms on the Internet explorer but erroneous text is being typed instead of clear greek. Greek language pack is installed correctly....
1
by: | last post by:
Hallo! i've created a file in ms access in Greek and trying to use visdata on it i realized greek fonts don't excist. any idea that could help? Thank you a lot!
10
by: Nikolay Petrov | last post by:
How can I convert DOS cyrillic text to Unicode
5
by: eisenstein | last post by:
i read out an utf-8 xml file with greek or russian/cyrillic characters. i can display it in the browser but if i insert data into an mssql database -field is nvarchar(4000)- i only see ??? or...
1
by: Anthony Planz | last post by:
Hello, I have a problem with displaying Greek fonts in a content placeholder. The Masterpage content displays correct, the content inside the content placeholder not. Example:...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.