Re: [jQuery] does jQuery has support for parameter handling ?

2006-11-10 Thread Truppe Steven
Mark Gibson schrieb: In PHP have a look at: utf8_encode(), iconv, or mbstring - Mark I think i haven't clearly told my problem: I just have some article manager where for each article i have some description text (german english). At the moment i have one php file loading the text from

Re: [jQuery] does jQuery has support for parameter handling ?

2006-11-10 Thread Mark Gibson
Truppe Steven wrote: Mark Gibson schrieb: In PHP have a look at: utf8_encode(), iconv, or mbstring I think i haven't clearly told my problem: I just have some article manager where for each article i have some description text (german english). At the moment i have one php file loading

[jQuery] does jQuery has support for parameter handling ?

2006-11-09 Thread Truppe Steven
Hello everyone, i have the following problem: i want to pass a string that is encoded with the php urlencode() function via json to some javascript code. does javascript or jQuery support any way to decode such a string ? Another point: Does jQuery support any sort of URL parameter handling ?

Re: [jQuery] does jQuery has support for parameter handling ?

2006-11-09 Thread Truppe Steven
Mark Gibson schrieb: Javascript has the functions: decodeURI(s) and decodeURIComponent(s) I get a string like this: Stumpf+einer+Palme%2C+ausgeh%F6hlt%2C+geschliffen+und+mit+Perlmutteinlegearbeiten+verziert If this string is inside the variable test and i do: var newtest

Re: [jQuery] does jQuery has support for parameter handling ?

2006-11-09 Thread Stephen Woodbridge
Does decodeURIComponent() support character encoding character sequences? %F6 looks like an accented character, if you remove this does it work? That might give you a clue to the problem or what to search for. -Steve Truppe Steven wrote: Mark Gibson schrieb: Javascript has the functions:

Re: [jQuery] does jQuery has support for parameter handling ?

2006-11-09 Thread Luke Lutman
escape() and unescape() have always worked for me :-) i.e. escape('The quick brown fox') - The%20quick%20brown%20fox unescape('The%20quick%20brown%20fox') - The quick brown fox Luke Truppe Steven wrote: Mark Gibson schrieb: Javascript has the functions: decodeURI(s) and