Giter Club home page Giter Club logo

Comments (7)

mihxil avatar mihxil commented on July 16, 2024

Just testing it a bit. My buffer sais it is unicode.

Dutch: Caf� Twee�ntwintig
Esperanto: E o an o iu a de.
Russion:

You see, pretty much messed up.

from emacs_chrome.

stsquad avatar stsquad commented on July 16, 2024

Yet it works for me:

Alex Bennée
»£®

Is emacs running in UTF-8 mode?

from emacs_chrome.

mihxil avatar mihxil commented on July 16, 2024

I'm not aware of any UTF-8 mode for emacs. I think the encoding may be different per buffer, and it should not matter what 'mode' my emacs is in.

from emacs_chrome.

mihxil avatar mihxil commented on July 16, 2024

Indeed if I do:
mkdir ~/.MacOSX
defaults write ~/.MacOSX/environment LC_ALL en_GB.UTF-8
and logout en login then it seems to go better.

Test:
Dutch: Café tweeëntwintig
Hebrew: דשךצ
Russian: перестойка
esperanto: Eĥoŝanĝo ĉiuĵaŭde

But I still fail to understand why it is important. The coding of the textarea is known, or at least independent of
emacs, and emacs is aware of what it does, so I don't see why I have to decide something beforehand.

from emacs_chrome.

stsquad avatar stsquad commented on July 16, 2024

I've merged a patch to ensure the response text is always encoded as UTF-8 before being sent back to the browser. Can you check and see if this solves your problem?

from emacs_chrome.

mihxil avatar mihxil commented on July 16, 2024

Test: eĥoŝanĝo

Seems like it helped. Thanks!

from emacs_chrome.

stsquad avatar stsquad commented on July 16, 2024

Thanks for testing...

from emacs_chrome.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.