>
> You can also overwrite encodeURLComponent like this:
>
> function encodeURLComponent(component) {
>   //-> your own encoding logic ...
> }

Put this into the global scope. However, I don't recommend this.


I have notice that... But I it's always better if use just library's own
configs than start to rewrite anything or making any new addons or fixes..
I have used that function in any of my own scripts so this.. For my case,
this would be better solution than using server-side encoders..

It's best that you use iconv on the server side:
>
> <?php
> $params_to_iconv = array('name', 'surname');
> foreach ($params_to_iconv as $param)
>    $_POST[$param] = iconv("UTF-8", "ISO-8859-1", $_POST[$param]);
> ?>
>
> You don't have to change existing code; just add this somewhere on the
> top.
>

This isn't much better solution than rewriting encodeURLComponent.. Handling
global system variables are little unsafe solution...

-- 
******************************************
Jussi Salminen
[EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" 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/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to