Can G2's Google maps module carry double-byte characters as a query?
masaruikeda
Joined: 2009-02-23
Posts: 5 |
Posted: Wed, 2009-03-25 07:26 |
Regarding the search feature of Gallery2, it does not work well and show me the internal server error (http status code 500) only when making a search with the keyword containing double-byte characters like Japanese. As a result of trial and error I made, it may be caused by the map module or by Google maps API, which may not be able to throw double-byte characters as query in order to find images tagged with Google Map fields specified by the user. Does the issue depend on the module or on Google Maps API? Does anyone have a workaround to fix it?
|
|
Posts: 508
I don't know if it can handle it or not. I don't see anything specifically that would make it fail on double-byte characters, unless the table was not created with UTF-8, which is a real possibility. The search function on the Google Maps module really has no purpose, I should remove it. You can search on marker color, zoom level, Google Earth LookAt value, or if you're extremely lucky and happen to type the exact coordinates as they're stored in the database, you'll find a picture by location.
Posts: 5
Thanks for you comment.
Actually my environment is created with UTF-8, so is for the database (mySQL). I confirmed that again.
I will be working on it as you suggested.