On 21/05/2022 10:09, Harriet Bazley wrote:
On 20 May 2022 as I do recall,
           John-Mark Bell  wrote:

Additionally, note that the character encoding used to submit forms on
websites is determined from the web site itself (and has nothing to do
with whatever settings apply to the OS on which the browser is running).
In the case of Google, the search page they serve to NetSurf does not
specify a charset to use for form submission, so the encoding of the web
page will be used. Page -> Info will tell you that this is ISO-8859-1
(i.e. Latin 1), which is not able to represent Russian, thus you will
find that attempting to search Google for Russian text will end up with
NetSurf submitting a load of question marks, instead. Other search
engines (e.g. DuckDuckGo, Yahoo) work fine as NetSurf is able to submit
UTF-8 encoded text to those (and thus Russian is representable).


I wondered if using www.google.ru would work (on the assumption that
this page presumably expects Russian input), but it doesn't.  (Page Info
gives "windows-1251", but the search result page returned then shows up
as ISO-8859-1 again)

And clicking on "Google offered in: russkiy" (in the absence of any
ability to submit Cyrillic in e-mail!) at the bottom of the page gives
an error; doing the same thing on google.de, for example, does
successfully switch the page over into searching in German.

As of CI build #5346, Google will serve up pages using the UTF-8 encoding, so all this mess goes away.


J.
_______________________________________________
netsurf-users mailing list -- netsurf-users@netsurf-browser.org
To unsubscribe send an email to netsurf-users-le...@netsurf-browser.org

Reply via email to