<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
<STYLE type=text/css>
<!--
.message {background: white; font-size:9pt; font-family:'Arial';}
.message p { margin-top: 0em; margin-bottom: 0em; }
-->
</STYLE>
</HEAD>
<BODY class='message' bgColor=#ffffff>
<font face="Arial" size="2">Thank you so much again </font><br /><font face="Arial" size="2">I will try that</font> <br /><br />Regards<br />Shailesh<br /><blockquote style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #5167c6 2px solid; MARGIN-RIGHT: 0px"><div style="FONT: 10pt arial">----- Original Message -----</div><div style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><b>From:</b> Farah <a href="mailto:farah@egovernments.org"><farah@egovernments.org></a></div><div style="FONT: 10pt arial"><b>To:</b> <a href="mailto:users@mapguide.osgeo.org"><users@mapguide.osgeo.org></a></div><div style="FONT: 10pt arial"><b>Cc:</b> </div><div style="FONT: 10pt arial"><b>Date:</b> Wednesday, October 11 2006 04:55 PM</div><div style="FONT: 10pt arial"><b>Subject:</b> RE: [mapguide-users] Does Mapguide support unicode?</div><style></style><smarttagtype name="PersonName" namespaceuri="urn:schemas-microsoft-com:office:smarttags" /><style></style><style></style><div class="Section1"><p class="MsoNormal"><font face="Arial" color="#000080" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Hi shailesh..<br /></span></font><br /><p class="MsoNormal"><font face="Arial" color="#000080" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> <br /></span></font><br /><p class="MsoNormal"><font face="Arial" color="#000080" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Yes?these tooltip and label values are from an MIS Database?.<br /></span></font><br /><p class="MsoNormal"><font face="Arial" color="#000080" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">If you are setting the tooltip value for a temporary layer, then it can be done through code, like I said before.<br /></span></font><br /><p class="MsoNormal"><font face="Arial" color="#000080" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> <br /></span></font><br /><p class="MsoNormal"><font face="Arial" color="#000080" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">If it is for an existing resource, I guess u have to do it from the studio.U will have to have the required data in your feature source (sdf).If it is not there, I guess u wil have to do a join with your database to get the values in your studio. Once you do that, you have to place the required font file ( ttf) in your windows/fonts folder. Then when u create a lable for your layer from studio, the new font will appear in the list of fonts.<br /></span></font><br /><p class="MsoNormal"><font face="Arial" color="#000080" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> <br /></span></font><br /><p class="MsoNormal"><font face="Arial" color="#000080" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> <br /></span></font><br /><p class="MsoNormal"><font face="Arial" color="#000080" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> <br /></span></font><br /><p class="MsoNormal"><font face="Arial" color="#000080" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Regards<br /></span></font><br /><p class="MsoNormal"><font face="Arial" color="#000080" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Farah<br /></span></font><br /><p class="MsoNormal"><font face="Arial" color="#000080" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> <br /></span></font><br /><p class="MsoNormal"><font face="Arial" color="#000080" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> <br /></span></font><br /><div><div class="MsoNormal" style="TEXT-ALIGN: center" align="center"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"><hr tabindex="-1" align="center" width="100%" size="2" /></span></font></div><p class="MsoNormal"><b><font face="Tahoma" size="2"><span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</span></font></b><font face="Tahoma" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> shailesh [mailto:shailesh@simplexindia.com] <br /><b><span style="FONT-WEIGHT: bold">Sent:</span></b> Wednesday, October 11, 2006 4:06 PM<br /><b><span style="FONT-WEIGHT: bold">To:</span></b> <personname w:st="on">users@mapguide.osgeo.org</personname><br /><b><span style="FONT-WEIGHT: bold">Subject:</span></b> RE: [mapguide-users] Does Mapguide support unicode?</span></font><br /><br /></div><p class="MsoNormal"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> <br /></span></font><br /><p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks a lot Farah for sharing the piece of code.</span></font><font face="Arial" size="1"><span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial"><br />We use only Mapguide studio for tooltips/labels etc, If you can please guide me on where / which page to insert the code that would be great<br />Are these labels/toolitps from a column of Oracle spatial table? What data source are using? <br /><br />-Regards<br />Shailesh<br /></span></font><br /><div><p class="MsoNormal"><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">----- Original Message -----<br /></span></font><br /></div><div style="font-color: black"><p class="MsoNormal" style="BACKGROUND: #e4e4e4"><b><font face="Arial" size="2"><span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">From:</span></font></b><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> Farah <a href="mailto:farah@egovernments.org"><farah@egovernments.org></a><br /></span></font><br /></div><div><p class="MsoNormal"><b><font face="Arial" size="2"><span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">To:</span></font></b><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> <a href="mailto:users@mapguide.osgeo.org"><users@mapguide.osgeo.org></a><br /></span></font><br /></div><div><p class="MsoNormal"><b><font face="Arial" size="2"><span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">Cc:</span></font></b><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> <br /></span></font><br /></div><div><p class="MsoNormal"><b><font face="Arial" size="2"><span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">Date:</span></font></b><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> Wednesday, October 11 2006 03:06 PM<br /></span></font><br /></div><div><p class="MsoNormal"><b><font face="Arial" size="2"><span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">Subject:</span></font></b><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> RE: [mapguide-users] Does Mapguide support unicode?<br /></span></font><br /></div><div><p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><font face="Arial" color="#000080" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><smarttagtype name="PersonName" namespaceuri="urn:schemas-microsoft-com:office:smarttags" />Hi..!!!!</span></font><br /><br /><p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> <br /></span></font><br /><p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><font face="Arial" color="#000080" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I had the same requirement! I was creating a temporary layer and I needed to display some kannade text as alabel as well as tooltip for the temporary layer. It worked fine.</span></font><br /><br /><p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> <br /></span></font><br /><p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><font face="Arial" color="#000080" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I copied my required font into the Windows/fonts folder (.ttf file). Then in my code, I did the following: ( Owner name is the required text to be shown as alabel and tooltip in kannada.)</span></font><br /><br /><p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> <br /></span></font><br /><p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> <br /></span></font><br /><p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> <br /></span></font><br /><p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><font face="Arial" color="#000080" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><%@ page contentType="text/html; charset=UTF-8" %></span></font><br /><br /><p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> <br /></span></font><br /><p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> <br /></span></font><br /><p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> <br /></span></font><br /><p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><font face="Arial" color="#000080" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">String OwnerName = PropertyList[0];</span></font><br /><br /><p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> <br /></span></font><br /><p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><font face="Arial" color="#000080" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">byte[] bytes = new byte[OwnerName.length()];</span></font><br /><br /><p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><font face="Arial" color="#000080" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">for (int i = 0; i < OwnerName.length(); i++)</span></font><br /><br /><p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><font face="Arial" color="#000080" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">{</span></font><br /><br /><p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><font face="Arial" color="#000080" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">bytes[i] = (byte) OwnerName.charAt(i);</span></font><br /><br /><p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><font face="Arial" color="#000080" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">}</span></font><br /><br /><p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><font face="Arial" color="#000080" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">OwnerName = new String(bytes,"UTF-8"); </span></font><br /><br /><p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> <br /></span></font><br /><p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><font face="Arial" color="#000080" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Then I assigned this owner name as a string property for the temporary layer and set it as the tooltip and label.</span></font><br /><br /><p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> <br /></span></font><br /><p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><font face="Arial" color="#000080" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Regards</span></font><br /><br /><p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><font face="Arial" color="#000080" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Farah</span></font><br /><br /><p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> <br /></span></font><br /><p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> <br /></span></font><br /><div><div class="MsoNormal" style="TEXT-ALIGN: center" align="center"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"><hr tabindex="-1" align="center" width="100%" size="2" /></span></font></div><p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><b><font face="Tahoma" size="2"><span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</span></font></b><font face="Tahoma" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> shailesh [mailto:shailesh@simplexindia.com] <br /><b><span style="FONT-WEIGHT: bold">Sent:</span></b> Tuesday, October 10, 2006 10:02 AM<br /><b><span style="FONT-WEIGHT: bold">To:</span></b> <personname w:st="on" /><personname w:st="on">users@mapguide.osgeo.org</personname /></personname><br /><b><span style="FONT-WEIGHT: bold">Subject:</span></b> [mapguide-users] Does Mapguide support unicode?</span></font><br /><br /></div><p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> <br /></span></font><br /><p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><font face="Arial" size="1"><span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial"><br />Hi all,<br />Can we display mapgude labels any other language other the english<br />We would be using Map 3d to create maps and store them in oracle spatial . The attributes of the parcels and lots are to be stored in our national language - Hindi. <br />Is mapguide capable to dislaying the labels in any other langauge other than english, <br />If it supports unicoce then i think it must be possible , Has someone already implemented this ? can some one guide me ?<br /><br />Thanks <br />Shailesh<br /><br /><br /><br /></span></font><br /><br /></div><p class="MsoNormal"><font face="Arial" size="1"><span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@mapguide.osgeo.org For additional commands, e-mail: users-help@mapguide.osgeo.org<br /></span></font><br /></div>--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@mapguide.osgeo.org For additional commands, e-mail: users-help@mapguide.osgeo.org</blockquote>
</BODY></HTML>