"Special" characters in the search box

Forums » Opera for Windows/Mac/Linux » Opera browser

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

6. April 2010, 23:46:34

efAston

Posts: 26

"Special" characters in the search box

I've got my search box set up with a direct link to Google's Finnish to English translator (because I'm learning Finnish) and I basically can't use it because any characters with diaereses (umlauts) just come up in Google as question marks. I know it's to do with the Opera search box because in Konqueror I don't have the problem.

The link I'm using is http://translate.google.com.au/translate_t?hl=&ie=UTF-8&text=%s&sl=fi&tl=en#

If you use that as a search box and type in "mitä", instead of translating it to "what", it'll translate it to "mit?".

Can this be fixed? It must make the search box pretty hard to use for European users.

17. April 2010, 20:17:05

jleonardo

Posts: 83

I'm having this exact same problem (except I'm using the French translator).

The link I'm using is this: http://translate.google.com/#fr|en|%s

The problem is that when I try a a search with a special character, Opera is converting said character to something else. For example, if I want to search the meaning of the word "mité" through that search, Opera will actually redirect me to this page: http://translate.google.com/#fr|en|mit%E9

However, if I manually go to this address: http://translate.google.com/#fr|en|mité then it works as intended

17. April 2010, 21:02:56

mimi_s_mum

Queen of DIY & rugby loving sicfi buff translator

Posts: 2915

Hmm. Using the 10.51 stable release, I've set up the Google Translate search using "Create search" function via the context menu (Translate from: "Detect language" Translate to: "English"). Pasted "mitä" in the search box and performed the search. Result was correct "mitä" in the original text field, "Finnish to English Translation": "what", with dictionary definitions for adjective: 1. what; adverb: 1.most; pronoun: 1. what. I've no knowledge of Finnish but seems working fine. Maybe the issue is with your query string set up?

The automatically created query string created was:
js=y&prev=_t&hl=en&ie=UTF-8&layout=1&eotf=1&text=%s&file=&sl=auto&tl=en
"Use Post" was ticked.

I've also tried set up another search with "Translate from: Finnish" and still have no issue. The query string for Finnish to English was:
js=y&prev=_t&hl=en&ie=UTF-8&layout=1&eotf=1&text=%s&file=&sl=fi&tl=en
Desktop OS: Windows 8 x64 + 7 x64 sp1 x2 + XP sp3; Mobile OS: Android 4.0.4

Want to send me a message? Send it to mimismum(at)myopera.com (not mimi_s_mum etc)

Looking for Opera 12.16 or earlier? Try
http://www.opera.com/download/guide/?custom=yes ,
http://get.geo.opera.com/pub/opera/win or
ftp://ftp.opera.com/pub/opera/win

5. May 2010, 10:45:58

efAston

Posts: 26

I know I haven't looked at this post for a while, but I tried copying and pasting both of your strings into my search string, and I get exactly the same result - mit?. Are you doing anything different from my screenshot?
questionMark.png

5. May 2010, 10:47:21

efAston

Posts: 26

Note the search string in the address bar becomes "mit%E4" rather than remaining "mitä".

5. May 2010, 10:55:04

efAston

Posts: 26

Ahhh I get you now, and I got it working smile. I couldn't find any mention of how to use the "Use POST" option, even in the Opera help, but the help did mention the right-click option to automatically create a search, and that does work with the "Use POST" option which allows 'special' characters.

Kiiti!

Forums » Opera for Windows/Mac/Linux » Opera browser