Giter Site home page Giter Site logo

Comments (3)

warrenseine avatar warrenseine commented on August 19, 2024

Depending on the environment you're building for, this may require a flag in the setup of the web view. We haven't tested with Chinese character sets so I'm not surprised it doesn't work.

Depending on the platform, different approaches are used:

  • on HTML5, it's an iframe in the browser (so I don't think there should be a problem here)
  • on Android / iOS, it's a web view (so it may require some setup)
  • on desktop, it's Chromium Embedded Framework (so it may also require some setup).

PR are welcome!

from minko.

longde123 avatar longde123 commented on August 19, 2024

1 display on html-overlay .passing unicode characters as ASCII strings and expecting everything to "just work".
2 IMEs are Input Chinese characters not found the solution yet

from minko.

longde123 avatar longde123 commented on August 19, 2024

test cef code
std::wstring s = L"你好";
auto n = s.length();
for (auto i = 0; i<n; i++) {
CefKeyEvent ki;
ki.character = s[i];
ki.is_system_key = false;
//ki.native_key_code = s[i];
ki.windows_key_code = s[i];
ki.type = KEYEVENT_CHAR;
_impl->browser->GetHost()->SendKeyEvent(ki);
_impl->browser->GetHost()->SendFocusEvent(true);
}

it work ,so i think sdl2 input should be a problem here,

from minko.

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.