Re: [UMN_MAPSERVER-USERS] Java Mapscript with Japanese Encoding

2006-08-31 Thread Umberto Nicoletti
ent is also in UTF-8 can a match be found. I have a funny feeling that the query value is always converted to UTF-8 first before doing a search. Just a hunch though. My opinion is that the Java source file where you defined the search string is not Shift_JIS encoded. Checklist: 1) check encod

Re: [UMN_MAPSERVER-USERS] Java Mapscript with Japanese Encoding

2006-08-31 Thread Umberto Nicoletti
vironment is also in UTF-8 > > can a match be found. > > > > I have a funny feeling that the query value is always converted to > > UTF-8 first before doing a search. Just a hunch though. > > My opinion is that the Java source file where you defined the search > stri

Re: [UMN_MAPSERVER-USERS] mapfile in shift-jis, db in utf-8 question

2007-01-11 Thread Donal
quot; Donal wrote: > > I have a map file saved as shift-jis which allows to me query some shape > files that have attributes encoded in shift-jis i.e I can write a > classitem in shift-jis encoded japanese and my map displays as I would > like. > > I now have a postgresql db en

Re: [UMN_MAPSERVER-USERS] Java Mapscript with Japanese Encoding

2006-08-31 Thread Mario Basa
and when the tomcat environment is also in UTF-8 > can a match be found. > > I have a funny feeling that the query value is always converted to > UTF-8 first before doing a search. Just a hunch though. My opinion is that the Java source file where you defined the search string is not S

Re: [UMN_MAPSERVER-USERS] Java Mapscript - querybyattribut SOLVED

2006-04-18 Thread Nicol Hermann
e 109375 07339Mainz-Bingen 194156 > > 3) open the Java source file with an editor like gedit (from GNOME) > which will tell you the encoding of the java source and optionally > recode it to the same encoding set by the LANG variable (use the > recode command unde

Re: [UMN_MAPSERVER-USERS] Java Mapscript - querybyattribut SOLVED

2006-04-18 Thread Umberto Nicoletti
dliche Weinstraße > 109375 > 07339Mainz-Bingen > 194156 > > > > > 3) open the Java source file with an editor like gedit (from GNOME) > > which will tell you the encoding of the java source and optionally > > recode it to the same encoding set by th

Re: [UMN_MAPSERVER-USERS] Java Mapscript - querybyattribut SOLVED

2006-04-18 Thread Nicol Hermann
> fine. > > > > [EMAIL PROTECTED]:/tmp$ dbfdump subset.dbf > > KREIS_KENN KREIS_NAME > > EW > > 07337Südliche Weinstraße > > 109375 > > 07339 Mainz-Bingen > > 194156 > > > > > > >

Re: [UMN_MAPSERVER-USERS] Java Mapscript - querybyattribut SOLVED

2006-04-18 Thread Umberto Nicoletti
haracters) > > > > > > the result of 'dbfdump' is correctly display. The german umlauts looks > > > fine. > > > > > > [EMAIL PROTECTED]:/tmp$ dbfdump subset.dbf > > > KREIS_KENN KREIS_NAME > > > EW > > >

Re: [UMN_MAPSERVER-USERS] Java Mapscript - querybyattribut SOLVED

2006-04-18 Thread Nicol Hermann
ectly displayed (you might want to use xterm > > > > > which does a better job that gnome-terminal for instance in displaying > > > > > non-ascii characters) > > > > > > > > the result of 'dbfdump' is correctly display. The german umlauts looks >