Questions tagged [kanji]
22 questions
5
votes
3 answers
Why are and are the same in SQL Server
In SSMS v17.9, connecting to an SQL Server 14.0.1000 instance, the system treats these two character the same: and
I set a [Kanji] table with the [Char] NVARCHAR(2) as the primary key. After I added "", I cannot add "" since it threw a "key…

leanhluudan
- 63
- 3
4
votes
1 answer
How to write an algorithm which generates furigana readings for japanese kanji based on the kana reading
I'm currently working on a multi-lang online dictionary for Japanese words and kanji. My current problem is to generate furigana for kanji-compounds within expression, sentences and words. I have the kana and kanji reading (separated) available in…

jojii
- 55
- 4
2
votes
1 answer
Determine width in terminal of asian/japanese characters?
In my terminal these are equally wide:
ヌー平行
parallel
æøåüäöûß
I have managed to get Perl to give the length 8 for the last 2 lines, but it reports the length of the first line as 4. Is there a way for me to determine that the width of ヌ is twice…

Ole Tange
- 31,768
- 5
- 86
- 104
2
votes
0 answers
transliterate Kanji into latin with swift
Did anyone find a way to transliterate Kanji symbols into Latin (Romanization) in Swift?
let sourceText: String = "見る"
let regularAnswer: String = sourceText
let latinAnswer: String = regularAnswer.applyingTransform(.toLatin, reverse:…

NilsBerni
- 83
- 2
- 13
2
votes
1 answer
Dealing with kanji characters in C++
I have a windows deskop application (named: Timestamp) written in C++ that use .NET called CLR.
I also have DLL project (named: Amscpprest) written in native c++ and uses CPPREST SDK to get json data from server and pass the data to my Timestamp…

noyruto88
- 767
- 2
- 18
- 40
2
votes
2 answers
Japanese Unicode: Convert radical to regular character code
How can I convert Japanese radical characters into their "regular" kanji character counterparts?
For instance, the character for the radical fire is ⽕ (with a Unicode value of 12117)
And the regular character is 火 (with a Unicode value of…

waylonion
- 6,866
- 8
- 51
- 92
1
vote
0 answers
Can you create a Range variable of all 2136 kanji letters?
I currently creating a simple Japanese learning application in Ruby on Rails.
I have a Word model that needs to create a Kanji model if it contains a kanji character.
At first, I though of using Regex but after some digging, I found that in my case,…

taz mazia
- 182
- 10
1
vote
0 answers
Furigana with Jetpack Compose
I am trying to show furigana (small text helping for pronunciation) above kanji using Jetpack Compose.
I have searched on the Web but all tools are designed to be used with Java.

Mister Propre
- 35
- 9
1
vote
3 answers
How to display lines with Chinese letters on DevC++?
What I want is to display a line with a Chinese letter, entered by the user. Though the program DevC++.
This is my code:
#define UNICODE
#include
#include
using namespace std;
extern wostream wcout;
int main(int argc,…

Ĥvan_Eo
- 13
- 2
1
vote
1 answer
Is there any way to get Japanese Kanji suggestions from Hiragana? Android
Is there a library or any way I can implement this feature which takes hiragana character and returns kanji suggestions in android.
Let me explain my situation here,
I have a textview, where i set it's text to whatever character of hiragana the user…

Rose
- 11
- 3
1
vote
0 answers
SKK for Kana to Kanji inverter
I'm using kakasi inverter to convert Kanji characters to Romaji like in the following
echo "日本が好きです。" | kakasi -i euc -Ha -Ka -Ja -Ea -ka -s -iutf8 -outf8
nippon ga suki desu .
KAKASI is a simple Kanji to Kana inverter based on dictionaries. Doing…

loretoparisi
- 15,724
- 11
- 102
- 146
1
vote
1 answer
Sort Japanese vocabulary field by custom kanji index
I have been using a PERL program someone created 10+ years ago that inputs Japanese text (a vocabulary list) and a custom kanji index (such as RTK or KKLC or 2k1KO or Frequency), and outputs the Japanese text based on the largest kanji index…

user813036
- 11
- 1
1
vote
1 answer
Java XML Parsing - incorrect string version of the data with VTD-XML
I am parsing an XML document in UTF-8 encoding with Java using VTD-XML.
A small excerpt looks like:
I want to iterate through each literal and print it out to the console. However, what I…

waylonion
- 6,866
- 8
- 51
- 92
0
votes
1 answer
retrofit E/API: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $
I can get data form retrofit form this https://kanjiapi.dev/#!/
data…

Bradboyee
- 28
- 4
0
votes
0 answers
How do I get the UTF code value "0041" from "A" by using only Javascript?
Conversely, how do I get "0031" from "1"; or "5185" from "内".
I know you can use codePointAt() to get the unique HTML entity code (in the case of A, it returns "65"), but I don't seem to find a way to bring out the other value, which I don't even…

ARandomControl
- 1
- 1