NetSurf and eBay

2011-11-28 Thread Harriet Bazley
How come *some* item pages on ebay.co.uk display a usable 'add to watch
list' link on the right-hand side - like this one
http://www.ebay.co.uk/itm/ws/eBayISAPI.dll?ViewItemitem=130608393510
(no, I was not going to buy that!) and some, like this
http://www.ebay.co.uk/itm/HUGE-Ruby-idea-red-sterling-Silver-Gemstone-Ring-BK9F9R1-s7-/300628604992?pt=Gemstone_Ringshash=item45fedc7840
have only a javascript link?

And is there a reliable way of toggling between them?

(Hang on - I think I've answered my own question.   It all depends on
whether you're logged in or not.   If you're not logged, in it directs
you to a page where you can log in and save the item to your watchlist;
if you're logged in, it attempts to do the whole thing via Javascript.
It would be much more useful if it were the other way round (you have to
save the URL, then log out, then log in again) but it's a backdoor they
evidently forgot about when they were implementing their Javascript-only
features)

-- 
Harriet Bazley ==  Loyaulte me lie ==

He who has imagination without learning has wings but no feet.



accented characters in Google translate

2011-11-28 Thread rickman

There is a problem with accented characters in some webpage text 
areas. (and as this note contains accented characters I fear it may 
not be readable by all mail clients)

These two links demonstrate the problem.
Link (a) accepts accents, link (b) does not.

(a)  http://babelfish.yahoo.com/translate_txt

(b)  http://translate.google.com/

You can see the behavior by:-  setting the language pairs to 
Spanish/English, and pasting the following text

SILLÓN: respuesta positiva de Yoko Ono a John.

then clicking Translate.

For me, at any rate, the Google page replaces the accented character 
by a question mark.
If I replace the accented ø by O Google manages to read it.
The Yahoo page works without complaint.

I think this is a NetSurf feature rather than Google's as on Linux 
Firefox Google accepts the accents. And FWIW NetSurf has always 
behaved this way.

John


-- 
Midland User Group - http://mug.riscos.org
A fanatic is one who cannot change his mind and won't change the 
subject. WC



Re: accented characters in Google translate

2011-11-28 Thread John-Mark Bell
On Mon, 2011-11-28 at 19:25 +0100, rick...@argonet.co.uk wrote:
 There is a problem with accented characters in some webpage text 
 areas. (and as this note contains accented characters I fear it may 
 not be readable by all mail clients)
 
 These two links demonstrate the problem.
 Link (a) accepts accents, link (b) does not.
 
 (a)  http://babelfish.yahoo.com/translate_txt
 
 (b)  http://translate.google.com/
 
 You can see the behavior by:-  setting the language pairs to 
 Spanish/English, and pasting the following text
 
 SILLÓN: respuesta positiva de Yoko Ono a John.
 
 then clicking Translate.
 
 For me, at any rate, the Google page replaces the accented character 
 by a question mark.
 If I replace the accented ø by O Google manages to read it.
 The Yahoo page works without complaint.
 
 I think this is a NetSurf feature rather than Google's as on Linux 
 Firefox Google accepts the accents. And FWIW NetSurf has always 
 behaved this way.

No. This is a bug in Google Translate. It serves the page to NetSurf in
the ISO-8859-1 character set. NetSurf then submits your data in this
character set, encoding the O-acute correctly. This then fails to be
interpreted correctly by the server. The reason it works in Firefox, is
that Google serve the page in the UTF-8 character set to that browser.


John-Mark.