Code Monkey home page Code Monkey logo

Comments (7)

ErikOnBike avatar ErikOnBike commented on September 21, 2024

Hi Jan. Thanks for reporting this issue.

Found the cause of the issue. The Pharo Candle implementation (which forms the basis for my tiny Smalltalk image) only implemented ByteString and not WideString (how did I miss this before?!). International characters require WideStrings. This requires a little more work to fix. So please stay tuned.

from codeparadise.

janbkrejci avatar janbkrejci commented on September 21, 2024

from codeparadise.

ErikOnBike avatar ErikOnBike commented on September 21, 2024

Short update: been working on this issue, but regular job required most of my time. So progress is slow, but getting there ;-).

from codeparadise.

janbkrejci avatar janbkrejci commented on September 21, 2024

Great, thanks, Erik. I am afraid you will find that squeakjs itself has some difficulties with unicode chars - even JS alert: 'unicode char' throws an error, and with Squeak or Pharo image I was not able to type unicode chars in Workspace{Playground... Unfortunately it is far beyond my humble capabilities to pinpoint the root cause better... Best regards, Jan

from codeparadise.

ErikOnBike avatar ErikOnBike commented on September 21, 2024

Jan! I think I've managed to implement WideString support with full Unicode support. I'm able to render Strings containing international characters as well as Unicode emojis. Could you give it a go and let me know if this works for you? Don't forget to pull both CodeParadise and CP-ClientEnvironment. If you haven't stayed up to date, consider using the CP-ClientEnvironment from Pharo. It allows you to keep track of changes in a single place. @macta added this and also added a menu item for easy starting and stopping of applications. HTH

Loading CP-ClientEnvironment from Pharo:

Metacello new
  repository: 'github://ErikOnBike/CP-ClientEnvironment';
  baseline: 'CpClientEnvironment';
  load.

from codeparadise.

janbkrejci avatar janbkrejci commented on September 21, 2024

Thanks, Erik,

looks good - I am now able to use czech unicode characters in Counter

Snímek obrazovky 2021-04-13 v 18 50 11

from codeparadise.

ErikOnBike avatar ErikOnBike commented on September 21, 2024

Nice! I'll close this issue then. If something pops up. Just open a new issue.

from codeparadise.

Related Issues (9)

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.