Convert Between Simple Tone Input and Pinyin in Rails model


/ Published in: Rails
Save to your folder(s)

This lets you type Mandarin tones like a1, o2, e3, and so on instead of having to type the real pinyin. The tones are saved with the proper characters in the database.

URL: http://67ideas.com/blog/easily-translate-rails-form-inputs-saving

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.