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
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
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 ?
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
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:
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