1,139 questions
1
vote
0
answers
38
views
How to get CJK orthography to display well in browsers?
<style>
* {
font-family:
"PingFang SC", "Hiragino Sans GB",
"Noto Sans CJK SC", "Noto Sans SC",
"Microsoft YaHei", "WenQuanYi Micro Hei";
}
#two {
font-variant-...
2
votes
1
answer
145
views
Can't render Chinese chars with freetype
I am trying to output this string L"Hello, 你好, 日本". Here is what it shows:
I am trying to use Freetype
to draw onto an HDC in a WinAPI/ATL application.
#include <atlbase.h>
#include &...
2
votes
1
answer
54
views
Japanese input on latin keyboard doesn't work correctly with QtVirtualKeyboard
I'm having a problem with support of japanese language using QtVirtualKeyboard. I am not able to input correct japanese characters.
With a hiragana output I am able to type a, i, u, e and o and get ...
0
votes
2
answers
350
views
Japanese Characters Not Rendering in PDF on Vercel Using Puppeteer-core and @sparticuz/chromium-min
I am trying to generate a PDF on Vercel using Puppeteer-core, @sparticuz/chromium-min, and Next.js, but Japanese characters do not appear at all in the generated PDF. Only English characters are ...
0
votes
0
answers
244
views
Issue with Setting up Japanese Input Method (Mozc) in Linux Mint (Cinnamon)
I'm using Linux Mint with the Cinnamon desktop environment and need to set up the Japanese input method using Mozc. I want to switch to Japanese by clicking on the Mozc icon in the system tray, while ...
0
votes
1
answer
127
views
Tkinter Labels and Text Widgets Display Unicode Escapes Instead of Chinese Characters on Raspberry Pi OS
I'm encountering an issue with displaying Chinese characters in Tkinter widgets on my Raspberry Pi Zero 2 W. While the window title and terminal correctly display Chinese characters, widgets like ...
1
vote
0
answers
64
views
Why can't CLion correctly read Chinese strings from a TXT file?
As a Chinese university student studying computer-related majors, I am working on a major assignment assigned by my teacher to create a restaurant management system. However, when I finished my code, ...
0
votes
1
answer
95
views
Unicode string not being read correctly [closed]
I'm reading an HTML file using Java and am having some trouble with a Unicode character. The problematic statement is:
<span class="xml-lang" lang="cmn-Hant" xml:lang="cmn-...
0
votes
1
answer
166
views
Using PD4ML not able to render few Chinese characters in PDF
I am trying to generate the PDF using PD4ML but while rendering it few Chinese characters are appearing as ? in output file.
Below is code snippet for reference through which I am generating PDF.
try {...
0
votes
0
answers
161
views
How to extract clean japanese text from the pdf folder in python
This is my code
import os
import PyPDF2
# set the directory where the PDF files are located
pdf_directory = '/Users/humnerohit/Desktop/test_pdf_files'
# loop through each file in the directory
for ...
1
vote
0
answers
46
views
Geocoding - Japanese address start to timeout without url encoding from 12th Oct 2024
Here is example of call from Golang without url encoding.
https://maps.googleapis.com/maps/api/geocode/json?address=大田区北千束3丁目&key=xxxx(please change to key)
Above was returning result until 11th ...
0
votes
1
answer
59
views
Which font/setting to correctly display U+2E976 in Firefox and everywhere in Linux [closed]
I'm trying to figure out which font I have to install to be able to see the characters on this page:
https://en.wiktionary.org/wiki/%F0%AE%A5%B6#Chinese
𮥶 which is U+2E976
I'm on Linux Mint. I've ...
1
vote
1
answer
101
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
1
answer
613
views
How to convert a column of Japanese words in a column of Hiragana words in Excel
I have a large column of Japanese words (some are entirely in hiragana, katakana or kanji, some are a mix of kanji and hiragana, and some are a mix of kanji and katakana), and I would like to convert ...
3
votes
1
answer
84
views
Regex for Parsing Japanese Parliamentary Speeches in Python
I'm a beginner in Python and am working on a project to preprocess Japanese text data for argument mining. I need to extract metadata (e.g., parliamentary session, date, speaker) and the speech ...