Giter Site home page Giter Site logo

kanji-hanzi's Introduction

kanji-hanzi

An instance of this website runs at https://prem.moe/kanji-hanzi - go there if you want to try!

A simple website written in Ruby using Sinatra that renders a character you input using different fonts (in this case from PRC, Taiwan, and Japan).

Installation

If you have Docker it's:

docker build -t kanji-hanzi .
docker run -it -p 80:4567 kanji-hanzi

If not, install requirements from Gemlock and run ruby main.rb.

Linguistic and technical background

Systems using Chinese characters are called hanzi, kanji, or hancha, depending on the language talked about. Moreover, People's Republic of China ordered simplification of them, leading to systems called Traditional and Simplified

It's often said that kanji used by Japanese are similar to Traditional Chinese characters but it's only kind of true – Japanese has also undergone simplification, albeit much less extensive. More confusingly, some Chinese characters (more specifically radicals, that is components of characters) are the same between Traditional and Simplified Chinese but different in Japanese (). Some others are the same in Simplified and Japanese () while the others look different in all three ()!

To add to the confusion, your computer, smartphone or even dumbphone stores them all the same! The only difference being the font used to render them. (That caused a lot of shitstorm back in the day.)

And since our smartphones are not so smart, learners of Japanese (and probably the other languages? let me know) go through three stages: 1) how come my phone dictionary/movie player/browser displays these characters weird; 2) fighting with the device to change the font; 3) cursing severely when that one application somehow still gets it wrong. Or when you get a new device. Or when your browser uses Traditional Chinese in tab titles but Japanese in the content. Happened to me today.

This site has already got you out of stage 1! While you're still curious, you can use the tool at the top to display any character you want in the three versions and try out some especially interesting ones! Care to try?

kanji-hanzi's People

Contributors

przemub avatar dependabot[bot] avatar

Watchers

 avatar

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.