Questions tagged [ruby-characters]

Ruby characters (ルビ Rubi?) are small, annotative glosses that can be placed above or to the right of a Chinese character when writing languages with logographic characters such as Chinese or Japanese to show the pronunciation. Browsers and libraries often have problems displaying Ruby characters, requiring custom handling or markup

Copying from Wikipedia.

Ruby characters (ルビ Rubi?) are small, annotative glosses that can be placed above or to the right of a Chinese character when writing languages with logographic characters such as Chinese or Japanese to show the pronunciation. Typically called just ruby or rubi, such annotations are used as pronunciation guides for characters that are likely to be unfamiliar to the reader.

In 2001, the W3C published the Ruby Annotation specification[1] for supplementing XHTML with ruby markup. Support for ruby markup in web browsers is limited.

Unicode and its companion standard, the Universal Character Set, support ruby via interlinear annotation characters although few applications implement these characters

15 questions
12
votes
2 answers

Is there a way to add pinyin/furigana to a class with css/javascript?

I've been scouring the web for a while now, on how to add pinyin/furigana to Chinese and Japanese respectively. I'd really love to just add like a class like class="furigana" to the texts that require it. I'm making a language learning game that…
samuraiseoul
  • 2,888
  • 9
  • 45
  • 65
11
votes
4 answers

Preventing text in rt tags (furigana) from being selected

I use ruby annotation to add furigana to Japanese text: かん When I try selecting 漢字 and copying it in Safari or Chrome, the clipboard looks like this: 漢 かん 字 I can't look up the word…
Lri
  • 26,768
  • 8
  • 84
  • 82
7
votes
1 answer

Is it possible to type in Furigana (and Ruby characters) using Unicode?

I am currently making a Corona app where I would like to include Japanese text. For those of you who do not know, it appears that Japanese has multiple languages to write in text (Kanji, Hiragana, etc.). Furigana is a way to have Kanji characters…
JHowzer
  • 3,684
  • 4
  • 30
  • 36
5
votes
1 answer

Furigana in Swing (Or GUI Alternatives ...)

Put simple, I cannot find a way to easily display furigana in a JLabel. For the record: Furigana (振り仮名?) is a Japanese reading aid, consisting of smaller kana, or syllabic characters, printed next to a kanji (ideographic character) or other …
wen
  • 3,782
  • 9
  • 34
  • 54
3
votes
1 answer

Display text above specific text

I want to display text above specific text, It look exactly like this. As you can see under 学校(called kanji) have がっこう(called furigana) displaying. I know exactly what character that should have furigana above it. The question is how can I? I…
witoong623
  • 1,179
  • 1
  • 15
  • 32
3
votes
3 answers

Ruby text/ Furigana in ios

I am currently trying to display some text in Japanese on a UITextView. Is it possible to display the furigana above the kanji (like below) in a manner similar to the < rt> tag in html, without using a web view? A lot of text processing is…
Hayek
  • 41
  • 1
  • 5
3
votes
1 answer

Tategaki (japanese vertical writing) in iOS apps

Is there a user control (standard or third-party) for iOS that allows to display vertical text of East Asian languages? I also need to display a ruby characters (furigana/reading aid) near the text. Result should look like this…
kallax
  • 353
  • 1
  • 2
  • 11
2
votes
1 answer

ruby tags for Sphinx/rst

I create HTML documents from a rst-formated text, with the help of Sphinx. I need to display some Japanese words with furiganas (=small characters above the words), something like that : I'd like to produce HTML displaying furiganas thanks to the <…
suizokukan
  • 1,303
  • 4
  • 18
  • 33
1
vote
1 answer

PHP read Japanese character, transform Japanese kanji into readable form

I'm not sure if PHP is capable of this but, I've got Japanese kanji characters 『漢字』being displayed. I'd like php (or some language) to read this character and display how to read it (either in katakana「かんじ」or romaji「kanji」) This way I will be able…
Trevor Wood
  • 2,347
  • 5
  • 31
  • 56
1
vote
0 answers

Improve copy-pasting of furigana

I have the following markup: ネックススNexus It renders very nicely in Chrome and IE (gasp!) and makes correct use of the fallback rendering in Firefox (not that it has any choice in the matter, just…
Niet the Dark Absol
  • 320,036
  • 81
  • 464
  • 592
1
vote
2 answers

Displaying furigana (phonetic readings of kanji characters) in textbox/richtextbox elements

How would I go about displaying furigana above kanji characters in a textbox based element? I've tried looking extensively on the web for information regarding furigana display in Windows forms elements - there appears to be some implementation for…
Ephemeralis
  • 189
  • 3
  • 17
1
vote
2 answers

MySQL regexp with Japanese furigana

I have a large database (~2700 entries) of vocabulary. Each row contains an English word, the Japanese equivalent, and other data not relevant to this problem. I have created a facility to search and display the results in a table, but I'm having a…
David John Welsh
  • 1,564
  • 1
  • 14
  • 23
0
votes
2 answers

Prevent text in rt tags (furigana) from being edited

I am trying to create a contenteditable div, in which the user, when editing, does not edit the text within certain HTML tags (or conversely, can ONLY edit the the text within certain tags: either achieves my goal). For example, say the code…
Dewi Morgan
  • 1,143
  • 20
  • 31
0
votes
1 answer

RegExp for furigana (Japanese)

I'm trying to create regex that will remove furigana (ruby) from Japanese words: 二度にど //old string 二度と // new string I created new =…
Lazar Ljubenović
  • 18,976
  • 10
  • 56
  • 91
0
votes
1 answer

C++ - Determine whether given string has only Furigana Characters

Is there any existing C++ function to determine given string has only furigana characters?
Thanigs
  • 73
  • 1
  • 6