-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update internationalization support #37
Comments
|
+1 on replacing escape() with encodeURIComponent() as escape() is I am not up on the PHP services, but I have to call URI.unescape() on Any objections? |
|
I tested replacing escape() with encodeURIComponent() and there is an issue. While more correct, it does break existing services (such as select.php) Clearly, the select.php (and other services included in the GeoMoose (And a second concern, the select.php service should probably validate I have a patch for Service.js and untested patches for the PHP services |
escape() is deprecated and doesn't correctly support Unicode. refs: geomoose/geomoose#37
Note: Someone please check/test this. refs: geomoose/geomoose#37
Note: Someone please check/test this. refs: geomoose/geomoose#37
|
Adding urldecode is actually a bad thing: http://www.php.net/manual/en/function.urldecode.php |
|
Make sure the JS code isn't double encoding. IIRC it wasn't working on '/'
|
… mime-types, all discovered while fixing, refs: geomoose/geomoose#37
|
Found the issue with the double encoding, also found what I suspect is the source of the print bug, and I'm hoping that all of that pushed properly. |
|
I just spent an afternoon learning a lot more about PHP character set encoding than I had intended. We can now handle UTF-8 and should be able to handle other encodings. |
|
Testing process:
There is also a test in tests/query_php_test.php:QueryTest.test_utf8 which will test for the appropriate back-end functionality. |
From the users list:
These seems pretty tenable for an immediate release inclusion.
The text was updated successfully, but these errors were encountered: