> The agenda has begun at
> http://evergreen-ils.org/dokuwiki/doku.php?id=community:meetin
> gs:2011-09-23
> - please feel free to add additional agenda items as needed
> for discussion. Also, it would be great if committee groups
> would edit to include links to group reports in advance of
> the meeting.
I cannot make the IRC chats. Could someone bring up the use of
encodeURIComponent() and decodeURIComponent as opposed to escape() and
unescape() to parse URLs? encodeURIComponent() and decodeURIComponent preserve
UTF-8 characters while escape and unescape do not. A quick 'grep -re "escape("
* | wc -l' in the /Evergreen-ILS-2.0.8/Open-ILS directory brings up 394
occurrences of escape() and unescape(). I imagine many of them do not deal
with UTF-8 characters, but it might be a good idea to replace them all any way.
This website
(http://www.dangrossman.info/2007/05/25/handling-utf-8-in-javascript-php-and-non-utf8-databases/)
suggests using code like this:
if (encodeURIComponent) {
string = encodeURIComponent(string);
} else {
string = escape(string);
}
in order to allow the ILS to work with older browsers.
Liam
Natural Resources Canada Library / Bibliothèque de Ressources naturelles Canada
615 rue Booth Street, 121, Ottawa, ON, Canada
K1A 0E9
Telephone / Téléphone : 613-995-4180
[email protected]
Web: http://www.nrcan.gc.ca/library/