473,386 Members | 1,803 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

encoding prob w/a google widget..

hi,

this site, http://www.mta.info/lirr/ has a "google translate" widget
(on left column); when you click on drop-down some languages don't
display properly (encoding problem), this problem occurs only in IE
(what a surprise..) in FF all languages display fine.. is there a way
to fix this in IE? I need to put this widget in our site where I work..

thank you very much..

Sep 18 '08 #1
15 1761
maya wrote:
hi,

this site, http://www.mta.info/lirr/ has a "google translate" widget
(on left column); when you click on drop-down some languages don't
display properly (encoding problem), this problem occurs only in IE
(what a surprise..) in FF all languages display fine.. is there a way
to fix this in IE? I need to put this widget in our site where I work..

thank you very much..
none of these work..

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-16"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-32"/>

HELP... please...

thank you...
Sep 19 '08 #2

maya schreef:
maya wrote:
>hi,

this site, http://www.mta.info/lirr/ has a "google translate" widget
(on left column); when you click on drop-down some languages don't
display properly (encoding problem), this problem occurs only in IE
(what a surprise..) in FF all languages display fine.. is there a
way to fix this in IE? I need to put this widget in our site where I
work..

thank you very much..

none of these work..

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-16"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-32"/>

HELP... please...

thank you...
Hi Maya,

<meta http-equiv="Content-Type" content="text/html; charset=whatever"/>
is quite useless.

The webserver should send this info in a header.
Try changing the headers the webserver returns.

Also, download an add-on for FF named Web Developer, it can help you
with, well, actually everything. ;-)
Regards,
Erwin Moller

--
============================
Erwin Moller
Now dropping all postings from googlegroups.
Why? http://improve-usenet.org/
============================
Sep 19 '08 #3
On Thu, 18 Sep 2008, maya wrote:
http://www.mta.info/lirr/ has a "google translate" widget (on left column)
No - there is no such thing on this page.
And Google says:

| These terms only appear in links pointing to this page: translate

http://www.google.com/search?q=cache...lirr+translate
Sep 19 '08 #4
maya <ma********@yahoo.comwrites:
this site, http://www.mta.info/lirr/ has a "google translate" widget
(on left column); when you click on drop-down some languages don't
display properly (encoding problem), this problem occurs only in IE
(what a surprise..)
When I look at in IE6 it is fine. I am using an emulated environment
to run IE6 so it may be the that is "fixing it" but I doubt it.
in FF all languages display fine.. is there a
way to fix this in IE? I need to put this widget in our site where I
work..
What encoding does the Google code use? My guess is UTF-8. You need
to make sure that is what you use for your page. I see from another
post that used a meta element. That is almost useless. You need to
make sure your server is serving the page with the correct content
type and encoding and that the pages themselves are indeed UTF-8
encoded.

--
Ben.
Sep 19 '08 #5
Ben Bacarisse wrote:
maya <ma********@yahoo.comwrites:
>this site, http://www.mta.info/lirr/ has a "google translate" widget
(on left column); when you click on drop-down some languages don't
display properly (encoding problem), this problem occurs only in IE
(what a surprise..)

When I look at in IE6 it is fine. I am using an emulated environment
to run IE6 so it may be the that is "fixing it" but I doubt it.
> in FF all languages display fine.. is there a
way to fix this in IE? I need to put this widget in our site where I
work..

What encoding does the Google code use? My guess is UTF-8. You need
to make sure that is what you use for your page. I see from another
post that used a meta element. That is almost useless. You need to
make sure your server is serving the page with the correct content
type and encoding and that the pages themselves are indeed UTF-8
encoded.
as mentioned in my last post, I tried UTF-8, it didn't work.. btw, even
on google's own page this looks messed up:
http://www.google.com/support/?hl=en
(again, only in IE..)

thank you for yr response...

Sep 19 '08 #6
Erwin Moller wrote:
>
maya schreef:
>maya wrote:
>>hi,

this site, http://www.mta.info/lirr/ has a "google translate" widget
(on left column); when you click on drop-down some languages don't
display properly (encoding problem), this problem occurs only in IE
(what a surprise..) in FF all languages display fine.. is there a
way to fix this in IE? I need to put this widget in our site where I
work..

thank you very much..

none of these work..

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-16"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-32"/>

HELP... please...

thank you...

Hi Maya,

<meta http-equiv="Content-Type" content="text/html; charset=whatever"/>
is quite useless.
you're right, my bad.. however, it doesn't work either after fixing it..
http://www.mayacove.com/misc/translate.html
>
The webserver should send this info in a header.
Try changing the headers the webserver returns.

Also, download an add-on for FF named Web Developer, it can help you
with, well, actually everything. ;-)
Regards,
Erwin Moller
as mentioned in my OP, the problem occurs ONLY in IE, in FF all
languages display fine..

thank you for yr response..

Sep 19 '08 #7
Andreas Prilop wrote:
On Thu, 18 Sep 2008, maya wrote:
>http://www.mta.info/lirr/ has a "google translate" widget (on left column)
>
No - there is no such thing on this page.
what???? you don't see the google "translate" widget drop-down on left
column of this page???
http://www.mta.info/lirr/

????????

And Google says:

| These terms only appear in links pointing to this page: translate

http://www.google.com/search?q=cache...lirr+translate
Sep 19 '08 #8
On Fri, 19 Sep 2008, maya wrote:
>No - there is no such thing on this page.

what???? you don't see the google "translate" widget drop-down on left column
of this page???
http://www.mta.info/lirr/
>And Google says:
| These terms only appear in links pointing to this page: translate
http://www.google.com/search?q=cache...lirr+translate
The words "Google" and "translate" DO NOT appear on your page!
Sep 19 '08 #9
Andreas Prilop wrote:
On Fri, 19 Sep 2008, maya wrote:
>>No - there is no such thing on this page.
what???? you don't see the google "translate" widget drop-down on left column
of this page???
http://www.mta.info/lirr/
>>And Google says:
| These terms only appear in links pointing to this page: translate
http://www.google.com/search?q=cache...lirr+translate

The words "Google" and "translate" DO NOT appear on your page!
ol, you're just messing w/me right?? that's fine.. as long as I get
this solved....;) first of all, the lirr page is not MY page, I'm just
using it as an example, b/c I need to embed the same widget in the site
where I work.. (so you don't see the "google translate" widget that you
see on this screenshot? http://www.mayacove.com/misc/ss_lirr.jpg, in
left column??)

thank you...
Sep 19 '08 #10
On Fri, 19 Sep 2008, maya wrote:
so you don't see the "google translate" widget that you see on this
screenshot?
http://www.mayacove.com/misc/ss_lirr.jpg
No.
Sep 19 '08 #11
Andreas Prilop wrote:
On Fri, 19 Sep 2008, maya wrote:
>so you don't see the "google translate" widget that you see on this
screenshot?
http://www.mayacove.com/misc/ss_lirr.jpg

No.
wow.. that's strange....

google really should have tested this better (they use UTF-8, and, as
mentioned in a previous post, even on one of their own pgs it doesn't
display right in IE..)

ok, thank you very much...
Sep 19 '08 #12
On Fri, 19 Sep 2008, maya wrote:
wow.. that's strange....
It's rather strange that some would-be authors don't even think
that the reader has no Java or Javascript or has disabled them.
Sep 19 '08 #13
Andreas Prilop wrote:
On Fri, 19 Sep 2008, maya wrote:
>wow.. that's strange....

It's rather strange that some would-be authors don't even think
that the reader has no Java or Javascript or has disabled them.
somehow usenet is the only place where I encounter folks who have
JavaScript or Java disabled.. ( so can you also disable ASP? .NET?
coldfusion? or any other back-end system???? I think some folks on
usenet are overly paranoid about anything whose name starts with
"Java"....;)

back to this problem, I think it might have to do with having or not
having language packages installed.. (which still doesn't explain why it
works fine in FF and Safari and not in IE..) which also demonstrates
why google should design this widget so that you can choose what
languages appear in drop-down..)

thank you..
Sep 19 '08 #14
At 17:43:18 on Fri, 19 Sep 2008, Andreas Prilop
<pr********@trashmail.netwrote in
<Pi*******************************@s5b004.rrzn.u ni-hannover.de>:
>On Fri, 19 Sep 2008, maya wrote:
>wow.. that's strange....

It's rather strange that some would-be authors don't even think
that the reader has no Java or Javascript or has disabled them.
Just to expand on Andreas's subtle reply, which I suspect has gone
rather over the OP's head: The invisibility of the Google Translate is
to do with Javascript, and third-party Javascript at that. Plenty of
people may enable Javascript from the originating site, but block
third-party Javascript. In this particular case, unless someone allows
Javascript from gmodules.com, they don't see the Google Translate
thingie. Zilch. Nada.
--
Molly Mockford
They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety - Benjamin Franklin
(My Reply-To address *is* valid, though may not remain so for ever.)
Sep 19 '08 #15
maya <ma********@yahoo.comwrites:
Ben Bacarisse wrote:
>maya <ma********@yahoo.comwrites:
>>this site, http://www.mta.info/lirr/ has a "google translate" widget
(on left column); when you click on drop-down some languages don't
display properly (encoding problem), this problem occurs only in IE
(what a surprise..)

When I look at in IE6 it is fine. I am using an emulated environment
to run IE6 so it may be the that is "fixing it" but I doubt it.
>> in FF all languages display fine.. is there a
way to fix this in IE? I need to put this widget in our site where I
work..

What encoding does the Google code use? My guess is UTF-8. You need
to make sure that is what you use for your page. I see from another
post that used a meta element. That is almost useless. You need to
make sure your server is serving the page with the correct content
type and encoding and that the pages themselves are indeed UTF-8
encoded.

as mentioned in my last post, I tried UTF-8, it didn't work..
I missed that. I saw the post about using a meta (http-quiv) element
but that dos not mean you have tried UTF-8. Unless you post a URL to
the page that fails no one will be able to see what is really going on.
btw,
even on google's own page this looks messed up:
http://www.google.com/support/?hl=en
(again, only in IE..)
No. One of the languages does not display on my (non IE) browser. I
suspect that is just due to not having whatever font is required. It
is possible that you have just seeing the same problem, or it might be
an encoding problem. A URL would help a lot.

--
Ben.
Sep 20 '08 #16

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Tonino | last post by:
Hi, I have a small Tkinter app that gets data from a socket connection to a "server". The app has a Text() widget to display the info that it gets from the socket connection. I have the...
6
by: William Gill | last post by:
I am trying to get & set the properties of a widget's parent widget. What I have works, but seems like a long way around the block. First I get the widget name using w.winfo_parent(), then i...
2
by: YGUEL | last post by:
Hello, do you know a good program to test what sort of charachters encoding is used in a file. I use iconv but it only can translate from a charachter encoding to an other. The problem is that I...
2
by: Vincent Poinot | last post by:
I'd like to implement some sort of search function on my site, so I took Google sample code and tried it, i.e. basically: <form method="GET" action="http://www.google.com/search"> <input...
7
by: polarz | last post by:
I wrote a front end to a command line mp4 music tagger that reads my playlist files and gets info such as artist, title, album, etc, etc. I use the info to catalog, tag, sort, etc, my files. I've...
0
by: JyotiC | last post by:
hi, i am making a GUI using tkinter i need to get lot of data from user, it's in form of a excel sheets(many rows n columns) what i am using is grid for foramating, frame is from Toplevel, data...
8
by: nil | last post by:
Hello all, It's urgent... i want to add autocomplete textbox facility in my application like google. as you type it suggests option to the user..i want the same kind of facility...i know i...
3
by: mariox19 | last post by:
Are Tkinter widgets running on their own thread? If I try to make a simple application that will print the letters A to Z to a Tkinter Text widget, and I space the printing of each letter by 1...
0
by: Phil Thompson | last post by:
On Sunday 04 May 2008, Lance Gamet wrote: I think QMainWindow.setCentralWidget() is what you are looking for. The eric4 IDE probably covers most things you'll ever need. Phil
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.