/    Sign up×
Community /Pin to ProfileBookmark

forms, urls and special characters

Hello, i have a problem, google has a [URL=http://translate.google.com/translate_t]translating tool[/URL], when you submit a text in the propper field with the proper languaje selected, everything works fine, Now, when you send all the needed variables via url to that page, i get ???? when using korean languaje, however if i use regular text (ASCII) there is no problems, i know it probably can be solved by encoding the text, but if i need to change the text, sending different strings everytime i is complicated…
is there a way around that?, so i can send special characters through urls?

here is an example of what happens…

[CODE]
This one sends the korean chars
translate.google.com/translate_t[URL=http://translate.google.com/translate_t?text=여보세요&langpair=ko|en&hl=en&ie=UTF8&oe=UTF8]?text=[COLOR=DarkOrange]여보세요[/COLOR]&langpair=[COLOR=DarkOrange]ko|en[/COLOR]&hl=en&ie=UTF8&oe=UTF8[/URL]

and this one sends regular text
translate.google.com/translate_t[URL=http://translate.google.com/translate_t?text=Hola&langpair=es|en&hl=en&ie=UTF8&oe=UTF8]?text=[COLOR=DarkOrange]hola[/COLOR]&langpair=[COLOR=DarkOrange]es|en[/COLOR]&hl=en&ie=UTF8&oe=UTF8[/URL][/CODE]

what i basically want is to display that page in a popup window with my own settings for it, i was trying to change the url of it to a new one containing the new text to be translated by referencing the window through javascript
(working with ASCII chars everything works the way i want to)
Thanks ?

EDIT: if you did not understand what i wanted, please see the link below, thats the effect i want, it is working almost the way i want to BUT only if you replace the korean characters in by ascii and press google translate button
[URL=http://myarea.com.sapo.pt/hangul/]here[/URL]

to post a comment
HTML

1 Comments(s)

Copy linkTweet thisAlerts:
@FangFeb 02.2006 — Try sending them as unicode encoded.

The Korean example would be: [I]text=%C5EC%BCF4%C138%C694[/I]
×

Success!

Help @saulss spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...