Giter Site home page Giter Site logo

Comments (5)

jetrotal avatar jetrotal commented on June 6, 2024 1

testCase - split.zip

from player.

Ghabry avatar Ghabry commented on June 6, 2024 1

Appears to work in Maniacs. So has likely special handling for Shift-JIS:

grafik

from player.

Ghabry avatar Ghabry commented on June 6, 2024

Hm guess I should special case this to walk over the Unicode characters instead of bytes. Otherwise this is useless for everything that is not ASCII.

Make me wonder if this even works in maniac patch for Japanese πŸ€”

from player.

jetrotal avatar jetrotal commented on June 6, 2024

I can't test it here, without access to japanese rpg_rt. This is how it looks on Maniacs:

from player.

Ghabry avatar Ghabry commented on June 6, 2024

Problem with english tests is that these are ASCII. ASCII is a super boring 1 byte per character encoding. So everything (like a naive "split at every byte") will just work. So is unsuitable for testing edge cases.

The fun starts when you add umlauts (Àâü) as they are 2 bytes per character in Unicode. Japanese is 3 bytes per character. Though Maniacs likely uses Shift-JIS internally and does special handling for them.

When I have time will try to get a Japanese example working...


Umlauts will likely work in Maniacs because internally it uses Latin-1, making them 1 byte per character too. (???)

from player.

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.