Umberto,

I finally got it to work now with Shift-JIS. It turns out that there
was something wrong with my environment (to get sjis recognized in
RHEL4, see this
http://www.mland.jp/~fedora/mlbbs/mlbbs.cgi?mode=res&mo=34&namber=34&space=0&page=0&no=0
).

Attached is a screenshot of QueryByAttribute sample application using
Kanji characters. It is kind of awkward to change LANG environment for
each encoding, but it works.

Thanks.

Mario.





On 9/1/06, Umberto Nicoletti <[EMAIL PROTECTED]> wrote:
Mario,
the attached patch will make ms print on stdio the search string that
has reached the C-layer of mapserver. Output is verbose.
It should help you debug where the problem lies.

Regards,
Umberto

On 9/1/06, Mario Basa <[EMAIL PROTECTED]> wrote:
> Umberto,
>
> Thanks for the offer. I was really thinking of sending data for
> testing the other day, but it occured to me that your environment
> might not be capable of handling double-byte kanji characters.
>
> I guess we'll test QueryByAttributeUnicode from here.
>
> Mario.
>
>
> On 9/1/06, Umberto Nicoletti <[EMAIL PROTECTED]> wrote:
> > Mario,
> > if you send me a sample shapefile, map and search string to test
> > against QueryByAttributeUnicode I'm willing to look into this.
> > Also, file an issue to bugzilla.
> >
> > Umberto
> >
> >
>



Attachment: mapscript-sjis.png
Description: PNG image

Reply via email to