Re: utf-8 characters in urls
Please forgive me if the following is missing the point, as i have not
followed the issue closely!
Looking at function BOLTutf2url() i see
$utf = urlencode(utf8_encode($utf));
and wonder why utf8_encode is called at all. Are the characters passed
to the function not already utf8 encoded? Do they get twice encoded
and thereby mangled?
Linley remarked that action.backup works using the standard "%"
encoding. The backup function uses a plain urlencode, and no
utf8_encode.
I also do not know why there is the str_replace:
$utf = str_replace(Array('%252525', '%2525', '%25'), '%', $utf);
It seems like it is trying to fix some encoding gone wrong in the
first place.
The same concerns go to the sister function BOLTurl2utf().
Lastly, but i don't know if this would have any bearing on the
problem:
The file engine.php is still wrongly encoded as ANSI, it should be
utf8 (we spoke about this before).
Cheers,
~Hans
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---