50 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
50
views
How to show GBK encoded header in Mac version Unity editor properly?
I work on my project on both Mac and Windows. Some editor headers were written in Visual Studio on Windows in Chinese, and were encoded in GBK(default I guess). However they don't show properly on mac ...
1
vote
0
answers
66
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
0
answers
117
views
Is there a solution to run non-unicode (GBK) program in linux?
I have a large C++ project that was originally developed on Windows for drawing, parsing, and processing drawings. Due to historical reasons, this project was initially designed to support GBK ...
2
votes
0
answers
72
views
About Java's character encoding for System.in in Windows CMD? [duplicate]
Notice
My main users of this programme are from China.
Since my program involves English, numbers, Chinese, Japanese, Korean, and even other characters, I need to use UTF-8 encoding.
How do I get the ...
0
votes
0
answers
48
views
python print method will raise encoding error when following | or > in powershell on windows [duplicate]
Given the following python script test.py
# -*- coding: utf-8 -*-
print("Er, Süleyman")
Here is the result of running this script in powershell
python test.py # success
Er, Süleyman
...
0
votes
0
answers
82
views
The return result of the terminal command cannot be decoded normally
I wrote the following command to get the list of available WIFIs:
result = subprocess.run("netsh wlan show network",
shell=True, stdout=subprocess.PIPE,
...
0
votes
1
answer
3k
views
How to make ".gbk" file from gbff/gff/fna/gb or any Genbank file format?
I am using a software needs reference geneome in .gbk format (which is obseleted by genebank and is replaced by gbff). I searched to find a file convertor however I failed. I supposed gb and gbk are ...
1
vote
1
answer
614
views
Python3 ZipFile how to write non-utf8 filename to archive by using writestr function
I am writing something like auto-compress files and upload to server, and I'm using writestr to directly write bytes to ZipFile from memory. But for historical problems, I need to make it display ...
0
votes
0
answers
138
views
anti-SMASH antismash --check-prereqs TRACEBACK and IMPORT ERRORS
I am now trying if my recently installed anti-SMASH would work. However, the following lines appear as I type antismash --check-prereqs:
Traceback (most recent call last):
File "/home/promt/...
0
votes
1
answer
558
views
iconv example to convert UTF-16BE Chinese simplified covert to GBK
I am trying to covert UTF-16BE BOM to GBK via iconv command line.
can somebody help me create linux command example for this.
good morning in chinse simplified as per google translator is 早上好 (HEX ...
0
votes
1
answer
387
views
A bug when using jemdoc+mathjax
I am using jemdoc+mathjax(http://www.mit.edu/~wsshin/jemdoc+mathjax.html) to make my website. However, when I am compiling, I came with the following mistake.
If I want to simply compile jemdoc.py ...
0
votes
0
answers
798
views
How to support UTF-8 on Windows without using "chcp 65001" command in C++?
I want to support UTF-8 string in my program, but the default active code page is 936.
Is there any methods to support UTF-8 without using the chcp 65001 command?
And the std::locale doesn't seem to ...
0
votes
1
answer
93
views
PDcurses:why can not work for Chinese characters?
I'm learning pdcurses on visual studio with GBK code, and it shows garbled when I use printw(), addstr() and addwstr() to print Chinese characters. I just tested the three functions, but I think all ...
0
votes
0
answers
240
views
Wrong charset?Java program get the damaged string from args[0]
I ran my java program in Windows 10 (defalt charset:Big5).
Then I got the garbage string from args[0].
I found that it is hard to convert damaged string(args[0]) to readable string by using any kind ...
user avatar
user8514159
3
votes
0
answers
69
views
About encoded proplems between python and C++
I use python3.8 and C++, G++ for C++.
If I write Chinese(in Unicode) string in C++ program, It will show me wrong string when I run the program,like this:
#include <iostream>
using namespace ...