[Mapserver-users] Label codepage

Stepan Kafka stepan.kafka at centrum.cz
Tue Apr 6 06:17:01 EDT 2004


This is a multi-part message in MIME format.

------=_NextPart_000_0029_01C41BD1.112049A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

MessageHi Dejan,
  the truetype fonts uses unicode internally. So the easiest way to get
proper font in mapserver is convert the label texts into unicode (UTF8)
strings.

Stepan Kafka
Help Service Remote Sensing
tel: +420-327514118
mailto:kafka at email.cz
ICQ: 294002967
http://www.bnhelp.cz


  I can't get some special characters to be displayed as my label text. I am
using Windows 1250 codepage. I have checked the following:

  - my dbf file is in Windows 1250 codepage
  - the font I am using to display the labels (Arial) is in Windows 1250
codepage

  Can somebody tell me what am I doing wrong?

  Thanks

  Regards

  Dejan Gambin

------=_NextPart_000_0029_01C41BD1.112049A0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D707221410-06042004></SPAN><FONT size=3D2><FONT =
face=3DArial>H<SPAN=20
class=3D707221410-06042004>i Dejan,</SPAN></FONT></FONT></DIV>
<DIV><FONT size=3D2><FONT face=3DArial><SPAN =
class=3D707221410-06042004>&nbsp;=20
the&nbsp;truetype fonts uses unicode</SPAN><SPAN=20
class=3D707221410-06042004>&nbsp;internally. So the easiest way to get =
proper font=20
in mapserver is convert the label texts into unicode (UTF8)=20
strings.</SPAN></FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D707221410-06042004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2><SPAN class=3D707221410-06042004><FONT =
face=3DArial><FONT size=3D2>
<P><FONT size=3D2>Stepan Kafka<BR>Help Service Remote Sensing<BR>tel:=20
+420-327514118<BR><A href=3D"mailto:kafka at email.cz"=20
target=3D_blank>mailto:kafka at email.cz</A><BR>ICQ: 294002967<BR><A=20
href=3D"http://www.bnhelp.cz"=20
target=3D_blank>http://www.bnhelp.cz</A></FONT></FONT></FONT></SPAN></FON=
T></P></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV><SPAN class=3D527473808-06042004><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D527473808-06042004><FONT face=3DArial size=3D2>I =
can't get some=20
  special characters to be displayed as my label text. I am using =
Windows 1250=20
  codepage. I have checked the following:</FONT></SPAN></DIV>
  <DIV><SPAN class=3D527473808-06042004><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D527473808-06042004><FONT face=3DArial size=3D2>- my =
dbf file is=20
  in Windows 1250 codepage</FONT></SPAN></DIV>
  <DIV><SPAN class=3D527473808-06042004><FONT face=3DArial size=3D2>- =
the font I am=20
  using to display the labels (Arial) is in Windows 1250=20
  codepage</FONT></SPAN></DIV>
  <DIV><SPAN class=3D527473808-06042004><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D527473808-06042004><FONT face=3DArial size=3D2>Can =
somebody tell=20
  me what am I doing wrong?</FONT></SPAN></DIV>
  <DIV><SPAN class=3D527473808-06042004><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D527473808-06042004><FONT face=3DArial=20
  size=3D2>Thanks</FONT></SPAN></DIV>
  <DIV><SPAN class=3D527473808-06042004><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D527473808-06042004><FONT face=3DArial=20
  size=3D2>Regards</FONT></SPAN></DIV>
  <DIV><SPAN class=3D527473808-06042004><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D527473808-06042004><FONT face=3DArial =
size=3D2>Dejan=20
  Gambin</FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0029_01C41BD1.112049A0--




More information about the mapserver-users mailing list