[Mapserver-users] language support

Janeks Kamerovskis janeks.kamerovskis at silva.lv
Wed Jun 16 03:57:23 EDT 2004


This is a multi-part message in MIME format.

------=_NextPart_000_002C_01C45390.B4333F70
Content-Type: text/plain;
	charset="windows-1257"
Content-Transfer-Encoding: 7bit

I faced with similar problem in Latvian.

I partly solved them by using an old fonts, that was working in old ArcView
3.x.
These old fonts used diffrent encoding, that currently in Win system.
Now I can display texts on map correctly, but queries with specific language
characters doesn't work. Also if I would like to display dbf table data,
then also
problems.
ArcView 8.x corectly works with old types of .dbf and encodings there. I can
see
and edit/search tables by using current fonts with Baltic encoding.
One solution, that I did'n try, is to write in php function that converts
charcodes.
I solved similar problem in FoxBase in time, when I need to see md-dos
encoding
in windows and vice versa.

Brobably there could be solution to use joins with attribute tables of non
dbf format.

>From the other side those local encodings and conversation are quite time
consumable if you need to go trought them yourself. F.ex. in Latvian there
are at least 5 encodings.
Of course currently are used mainly 2 or 3, but what I wanted to say is for
promoting
Mapserver for non english use I would be glad to see more detailed
descriptions about
localization capabilities/encoding support of Mapserver from a guru, that
understands encodings
well.
 I put something in Wiki, but there was no activities yet.


brgds
Janeks
  -----Original Message-----
  From: mapserver-users-admin at lists.gis.umn.edu
[mailto:mapserver-users-admin at lists.gis.umn.edu]On Behalf Of Andreas
Trantidis
  Sent: Wednesday, June 16, 2004 10:02 AM
  To: mapserver-users at lists.gis.umn.edu
  Subject: [Mapserver-users] language support


  Hello!

  I am new on MapServer, though it is so well structured that I do not face
many difficulties exploring and understanding all the functionality that it
provides.

  Basically I have installed the MapServer on Windows XP and furthermore I
have also installed the php/MapScript. I am using Apache 2 and php 4.3.1.
These days I am reading the class reference of the mapscript and furthermore
I am trying to underastand in depth the structure of the .map file and the
interface between the various classes.

  In order to test and work on the service, I have a few shape files
exported from ArcGIS 8.3.

  Although I have my map working and I am going deeper, I have one big
problem witch I can not overcome. I cannot illustrate greek characters (on
the label of a layer, stored on its .dbf file). I have tryed to illustrate
labels in English and everything worked fine! So, I suppose the problem is
on the non-english language support.

  Any ideas?

  Thank you for your time

  Andreas

------=_NextPart_000_002C_01C45390.B4333F70
Content-Type: text/html;
	charset="windows-1257"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-7">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D203243407-16062004>I=20
faced with similar problem in Latvian.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D203243407-16062004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D203243407-16062004>I=20
partly solved them by using an old fonts, that was working in old =
ArcView=20
3.x.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D203243407-16062004>These=20
old fonts used diffrent encoding, that currently in Win=20
system.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D203243407-16062004>Now I=20
can display texts on map correctly, but queries with specific=20
language</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D203243407-16062004>characters doesn't work. Also if I would like =
to=20
display dbf table data, then also </SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D203243407-16062004>problems.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D203243407-16062004>ArcView 8.x corectly works with old types of =
.dbf and=20
encodings there. I can see</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D203243407-16062004>and=20
edit/search tables by using current fonts with Baltic=20
encoding.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D203243407-16062004>One=20
solution, that I did'n try, is to write in php function that converts=20
charcodes.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D203243407-16062004>I=20
solved similar problem in FoxBase in time, when I need to see md-dos=20
encoding</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D203243407-16062004>in=20
windows and vice versa.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D203243407-16062004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D203243407-16062004>Brobably there could be solution to use joins =
with=20
attribute tables of non dbf format.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D203243407-16062004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D203243407-16062004>From=20
the other side those local encodings and conversation are quite time=20
</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D203243407-16062004>consumable if you need </SPAN></FONT><FONT =
face=3DArial=20
color=3D#0000ff size=3D2><SPAN class=3D203243407-16062004>to go trought =
them yourself.=20
F.ex. in Latvian there are at least 5 encodings.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D203243407-16062004>Of=20
course currently are used mainly 2 or 3, but what I wanted to say is for =

promoting</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D203243407-16062004>Mapserver for non english use I would be glad =
to see=20
more detailed descriptions about</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D203243407-16062004>localization capabilities/encoding =
support&nbsp;of=20
Mapserver from a guru, that understands encodings</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D203243407-16062004>well.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D203243407-16062004>&nbsp;I put something in Wiki, but there was =
no=20
activities yet.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D203243407-16062004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D203243407-16062004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D203243407-16062004>brgds</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D203243407-16062004>Janeks</SPAN></FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B>=20
  mapserver-users-admin at lists.gis.umn.edu=20
  [mailto:mapserver-users-admin at lists.gis.umn.edu]<B>On Behalf Of =
</B>Andreas=20
  Trantidis<BR><B>Sent:</B> Wednesday, June 16, 2004 10:02 =
AM<BR><B>To:</B>=20
  mapserver-users at lists.gis.umn.edu<BR><B>Subject:</B> [Mapserver-users] =

  language support<BR><BR></FONT></DIV>
  <DIV>
  <DIV><FONT face=3DArial size=3D2>Hello! </FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>I am new on MapServer, though it is =
so&nbsp;well=20
  structured that I do not face many difficulties exploring and =
understanding=20
  all the functionality that it provides. </FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Basically I have installed the =
MapServer on=20
  Windows XP and furthermore I have also installed the php/MapScript. I =
am using=20
  Apache 2 and php 4.3.1. These days I am reading the class reference of =
the=20
  mapscript and furthermore I am trying to&nbsp;underastand in depth the =

  structure of the .map file and the&nbsp;interface&nbsp;between the =
various=20
  classes.&nbsp;</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>In order to test and work on the =
service, I have=20
  a few shape files exported from ArcGIS 8.3. </FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Although I have my map working and I =
am going=20
  deeper,&nbsp;I have one big problem witch I can not overcome. I cannot =

  illustrate greek characters (on the label of a layer, stored =
on&nbsp;its .dbf=20
  file). I have tryed to illustrate labels in English and everything =
worked=20
  fine! So, I suppose the problem is on the non-english language =
support.=20
  </FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Any ideas?</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Thank you for your time</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial=20
size=3D2>Andreas</FONT></DIV></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_002C_01C45390.B4333F70--




More information about the mapserver-users mailing list