ASP.NET Masterpage, Contentpage displays greek fonts not correct

A

Anthony Planz

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:
http://axa-ppp.gr/GRDefault.aspx

The pages which are not connected to a Masterpage displaying correct.
Example:
http://axa-ppp.gr/GRxsoffer.aspx

I tried a lot of things, but nothing works as expected, any suggestions
please??

Kind Regards
Anthony
 
M

Milosz Skalecki [MCAD]

Howdy,

Have you tried copying the text from working master page to the page? It
works fine for me if I paste the correct text. Is it a static text or somehow
generated (database, file?) Paste some more code.

regards
 
A

Anthony Planz

Hello Milosz,

Thank you for your reply.
It is static text which is displayed in contentplaceholder.
Here is the code from the Master page:

<%@ Master Language="VB" CodeFile="grmaster.master.vb" Inherits="grmaster"
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="el-GR" />
<meta name="expires" content="NEVER" />
<meta name="page-type" content="Commercial Organisation" />
<meta name="audience" content="All" />
<meta name="robots" content="INDEX,FOLLOW" />
<meta name="author" content="" />
<meta name="page-topic" content="Insurance" />
<meta name="publisher" content="" />
<meta name="copyright" content="" />
<meta name="distribution" content="global" />
<meta name="revisit-after" content="7 days" />
<title>D. Atheneos Insurance Group S.A. Presents AXA PPP
healthcare</title>
<link href="App_Themes/Theme/StyleSheet.css" rel="stylesheet"
type="text/css" />
</head>
<body style="text-align: center">
<form id="form1" runat="server">
<div>
<div style="text-align: center">
<table cellpadding="5" cellspacing="5">
<tr>
<td colspan="2">
<asp:Image ID="headerimg" runat="server"
AlternateText="Η Δ. ΑΘΗÎΑΙΟΣ Ασφαλιστικό ΣυγκÏότημα Α.Ε. παÏουσιάζει την AXA
PPP healthcare"
ImageUrl="~/images/headercommon-gr.gif"
ToolTip="Η Δ. ΑΘΗÎΑΙΟΣ Ασφαλιστικό ΣυγκÏότημα Α.Ε. παÏουσιάζει την AXA PPP
healthcare" /><div
style="text-align: left">
<table style="border-top-style: none;
border-right-style: none; border-left-style: none;
border-bottom-style: none">
<tr>
<td style="text-align: center">
<a href="GRDefault.aspx">
<img height="20"
src="images/smallgrflag.jpg" style="border-top-style: none;
border-right-style: none;
border-left-style:
none; border-bottom-style: none" width="30" alt="Ελληνική έκδοση"
/></a></td>
<td>
<a href="default.aspx">
<img height="20"
src="images/smallukflag.jpg" style="border-top-style: none;
border-right-style: none;
border-left-style:
none; border-bottom-style: none" width="30" alt="Αγγλική έκδοση" /></a></td>
<td>
<a href="ESdefault.aspx">
<img height="20"
src="images/smallesflag.jpg" style="border-top-style: none;
border-right-style: none;
border-left-style:
none; border-bottom-style: none" width="30" alt="Ισπανική έκδοση"
/></a></td>
<td>
<a href="#">
<img height="20"
src="images/smallgerflag.jpg" style="border-top-style: none;
border-right-style: none;
border-left-style:
none; border-bottom-style: none" width="30" alt="ΓεÏμανική έκδοση"
/></a>&nbsp;</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td align="left" colspan="" valign="middle"
style="font-size: 1em; background-image:
url(images/subheaderbackground.gif);
color: #fafad2; font-family: Verdana; width:
650px;">
<div id="subheadercenter">
<p>
&nbsp;<a href="grdefault.aspx"
style="color: #fafad2">ΑÏχική Σελίδα</a> | <a href="GRcompare.aspx"
style="color: #fafad2">ΣÏγκÏιση
ΠÏογÏαμμάτων</a> | <a href="GRquote.aspx" style="color: #fafad2">
ΠÏοσφοÏά Ασφάλισης</a> | <a
href="GRlibary.aspx" style="color: #fafad2">Βιβλιοθήκη</a>
| <a href="GRcontact.aspx" style="color:
#fafad2">Επικοινωνήστε</a>
</p>
</div>
</td>
<td align="center" valign="middle"
style="font-weight: bold; font-size: 1.2em; background-image:
url(images/subheaderbackground.gif);
color: #fafad2; font-family: Verdana; width:
200px;" id="subheaderright">
<div>
<p>
www.axappp.gr</p>
</div>
</td>
</tr>
<tr>
<td style="width: 650px" valign="top" align="left"
id="centercolumn">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1"
runat="server">
</asp:ContentPlaceHolder>
&nbsp;</td>
<td style="width: 200px; background-image:
url(images/rightcolumnbackground.gif);"
align="left" valign="top" id="rightcolumn">
<asp:ContentPlaceHolder ID="ContentPlaceHolder2"
runat="server">
</asp:ContentPlaceHolder>
</td>
</tr>
<tr>
<td style="background-image:
url(images/subheaderbackground.gif); width: 650px;">
<p style="color: #fafad2">
<span style="font-size: 0.8em">ΑÏχική Σελίδα
| <a href="GRcompare.aspx" style="color: #fafad2">
ΣÏγκÏιση ΠÏογÏαμμάτων</a> | <a
href="GRquote.aspx" style="color: #fafad2">ΠÏοσφοÏά Ασφάλισης</a>
| Βιβλιοθήκη | <a href="GRcontact.aspx"
style="color: #fafad2">Επικοινωνήστε μαζί μας</a>
</span>
</p>
</td>
<td align="center" colspan="1"
style="background-image: url(images/subheaderbackground.gif);
width: 200px;">
<span style="font-size: 6pt; color:
#fafad2;">© 2007-2008 </span><a href="http://www.smartstuff.gr">
<span style="font-size: 6pt; color:
#fafad2">Smartstuff LTD</span></a></td>
</tr>
</table>
<span style="font-size: 0.65em; font-family:
Verdana"></span>
<p>
<span style="font-size: 0.65em; font-family:
Verdana"></span>&nbsp;<asp:SiteMapDataSource
ID="sitemap" runat="server" />
&nbsp;&nbsp;</p>
</div>
</div>
</form>

</body>
</html>

And here is the content page:

<%@ Page Language="VB" MasterPageFile="~/grmaster.master"
AutoEventWireup="false"
CodeFile="GRDefault.aspx.vb" Inherits="grDefault" Title="Η Δ. ΑΘΗÎΑΙΟΣ
Ασφαλιστικό ΣυγκÏότημα Α.Ε. παÏουσιάζει την AXA PPP healthcare"
Culture="el-GR" UICulture="el-GR" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
runat="Server">
<h2>
Αγαπητοί φίλοι,</h2>
<p>
Η υγεία σας και η υγεία των αγαπημένων σας Ï€Ïοσώπων ένα από τα
σημαντικότεÏα θέματα
σήμεÏα. Η εξέλιξη της ιατÏικής τεχνολογίας και γνώσης έχει φέÏει
νέες θεÏαπείες,
βελτιωμένα φάÏμακα και πιο εξειδικευμένους και εκπαιδευμένους
ΙατÏοÏÏ‚. ΠαÏάλληλα,
τα κόστη για αυτές τις εξελίξεις αυξάνονται Ïαγδαία κάθε χÏόνο,
καθιστώντας την
Ï€Ïόσβαση στην σωστή υγειονομική πεÏίθαλψη μια σημαντική οικονομική
απόφαση. Η σωστή
ασφάλιση υγείας διασφαλίζει ότι αν εσείς ή η οικογένεια σας
χÏειαστείτε πεÏίθαλψη,
το κόστος δεν θα είναι παÏάγοντας στην απόφαση σας.
</p>
<p>
Ειδικά για τους ανθÏώπους που ταξιδεÏουν συχνά , για δουλειά ή για
διασκέδαση και
“εκτίθενται†σε χώÏες που διαθέτουν συστήματα υγείας που είναι είτε
χαμηλότεÏης
ποιότητας ή μεγαλÏτεÏου κόστους πεÏίθαλψης, είναι Ï€Î¿Î»Ï ÏƒÎ·Î¼Î±Î½Ï„Î¹ÎºÏŒ να
απολαμβάνουν
την κατάλληλη υγειονομική πεÏίθαλψη, σαν να βÏίσκονταν στην πατÏίδα
τους. Επίσης,
αν έχετε Ï€Ïόβλημα να επικοινωνήσετε στην γλώσσα σας ή να βÏείτε το
κατάλληλο ειδικό
για το Ï€Ïόβλημα σας, η Ασφαλιστική ΕταιÏία Υγείας Ï€Ïέπει να μποÏεί
να σας δώσει
βοήθεια, πληÏοφοÏίες και οδηγίες στην γλώσσα σας, σαν να επόσασταν
σπίτι σας. Τα
Διεθνή ΠÏογÏάμματα Υγείας Ï€ÏοσφέÏουν ακÏιβώς αυτό: Σωστή Υγειονομική
ΠεÏίθαλψη οπουδήποτε
και να είστε στον κόσμο.</p>
<p>
H Δ. ΑΘΗÎΑΙΟΣ Ασφαλιστικό ΣυγκÏότημα Α.Ε. με πεÏηφάνια παÏουσιάζει
την AXA ΡΡΡ health
care, μια Î’Ïετανική ΕταιÏία μέλος του Ομίλου της AXA, που
εξειδικεÏεται στην ασφάλιση
υγείας. Η AXA ΡΡΡ health care εγγυάται ότι εσείς και η οικογένεια
σας θα είστε σωστά
ασφαλισμένοι, οπουδήποτε και να είστε, είτε στην πατÏίδα σας είτε
στο εξωτεÏικό.
Η AXA ΡΡΡ health care θα σας βοηθήσει να μην ανησυχείτε για αμοιβές
νοσοκομείων
και την κατάλληλη ιατÏική πεÏίθαλψή σε πεÏίπτωση που την
χÏειαστείτε.</p>
<p>
</p>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Contentplaceholder2"
runat="Server">
<br />
<br />
<asp:Image ID="Image1" runat="server"
ImageUrl="~/images/father-daugther.jpg" ImageAlign="Middle"
AlternateText="AXA-PPP healthcare" />
</asp:Content>

Kind Regards
Anthony
 
M

Milosz Skalecki [MCAD]

Hi Anthony,

It works absolutely fine in my Visual Studio. There might be something wrong
with the content you pasted to the content page or master (repaste it again).
Try to preview masterpage first and then the content page in your Visual
Studio. The best way is to remove elements from the page until you find the
source of your problem. Keep me posted.
 
A

Anthony Planz

Hello Milosz,

local on my computer it works fine. On my web servers it works fine as well,
the issue is when I copy the content to my provider and run the site there.

There is some setting missing but which one? If you are able to take a look
I can set trace=true on http://axa-ppp.gr/GRDefault.aspx.

kind regards
Anthony
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top