24
questions
1
vote
1
answer
81
views
Making a user-friendly input for subdividing a square into coordinates
I am working on a program (in Python) that involves cutting a square(s) into smaller pieces.
The user has to enter a 'code', which the program will automatically convert into the coordinates for each ...
0
votes
0
answers
88
views
Some kanji characters cannot be displayed when using TCPDF
I am using TCPDF latest version (6.7.5) to export PDF documents. In the document there are some Japanese kanji characters that cannot be displayed.
I have tried using fonts like cid0jp, cid0cs, cid0cs,...
2
votes
1
answer
292
views
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 ...
0
votes
1
answer
78
views
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 {"kanji":"蛍","grade":8,"stroke_count":11,"meanings":["lightning-bug",&...
1
vote
0
answers
68
views
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 ...
1
vote
2
answers
333
views
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.
0
votes
0
answers
21
views
How do I get the UTF code value "0041" from "A" by using only Javascript? [duplicate]
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 &...
0
votes
2
answers
2k
views
Disable autocomplete for Japanese
I am making a Japanese typing game for the browser using HTML, CSS and JavaScript. Everything is fine, except when I type hiragana cahrecters into the input field, it suggests different hiragana and ...
5
votes
1
answer
703
views
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 ...
2
votes
0
answers
480
views
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 = ...
1
vote
3
answers
921
views
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 <iostream>
#include <string>
using ...
0
votes
0
answers
1k
views
Japanese text break lines correctly: What's the difference between `word-break:keep-all`, `white-space:nowrap` and `overflow-wrap:break-word`?
In HTML and CSS, how do I make japanese text break lines correctly?
I like to use the CSS word-break:keep-all on my websites to stop Japanese kanji being broken in a weird way but what is the ...
0
votes
1
answer
166
views
Regex dealing with Kanji characters in Python
so for this web-scraping project i'm working on, I've been trying to separate some results from results.
basically if the title contains 指定されたページが見つかりません , i'll want to copy the url and write it to ...
0
votes
0
answers
26
views
How can we intergrate kanji to be an available in the qpython 3 in the console side as it is in the interpreter side?
I'm trying to figure out how I can type in kanji from the console side of qpython3. Maybe it's the phone i'm using. They say that the program acts differently depending on the phone/version/etc. Is ...
1
vote
1
answer
756
views
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 ...