Questions tagged [charset]
110 questions
5
votes
1 answer
Charset not present in used JDK
I have a java system communicating that serves as a gateway to different systems (java, mainframe, etc). This java system receives a request using, for example, utf8 and converts it to the encoding of the target
The issue is that there is a…

fnmps
- 143
- 6
5
votes
1 answer
How to find charset of System.err if stdout is redirected?
Finding the charset of System.out is tricky. (See Logback System.err output uses wrong encoding for discussion and implications with Logback.) Here's what the System.out API documentation says.
The "standard" output stream. This stream is already…

Garret Wilson
- 18,219
- 30
- 144
- 272
3
votes
2 answers
Incorrect string value error for unconventional characters
So I'm using a wrapper to fetch user data from instagram. I want to select the display names for users, and store them in a MYSQL database. I'm having issues inserting some of the display names, dealing with, specifically, an incorrect string value…

edrinaldi88
- 37
- 1
- 4
3
votes
1 answer
JavaScript problem with special characters
I developed a simple form, and when I click on the button it checks that all fields are entered correctly. If not, a message appears below the field, very standard
The problem lies in two words, "minimum" and "maximum".
Location is correct, words…

Bjorn Ruiz
- 546
- 2
- 4
- 15
3
votes
1 answer
Golang: Unzip files in Go gets char encoding problems in the files names when file has been zipped in windows
I´m trying to unzip files in Go (Golang) using the zip lib. The problem is that when the zip file has been zipped in windows all special characters get messy.
windows probably uses windows1252 char encoding. Just cant figure out how to unzip theses…

edulg101
- 33
- 6
2
votes
3 answers
How to create my own unique Charset in Java?
I would like to make my own Charset in Java and then use it for the encoding purpose.
I need to add some particular symbols to my Charset as well as all of the numbers and 4 languages (Traditional Chinese, US English, Polish and Russian).
I tried to…

Vreny
- 71
- 7
2
votes
0 answers
How to ignore `java.nio.charset.MalformedInputException` and replace wrong characters to anything else temporarily?
The majority of my users don't know how to solve the charset error, they always ask this question in user groups. So I want to find a solution choosing proper charset automatically.
The first solution is fixed charset property in configuration file.…

CHUANWISE
- 68
- 6
2
votes
0 answers
gdb debugging and charset settings
Learning disassably and debugging with GDB, and for weeks I have not succeeded to solve problem with adjusting gdb to print human readable format data, I assume it is connected to charset option in gdb.
(gdb) show charset
The host character set is…

SLaski
- 21
- 1
2
votes
1 answer
NodeJS and Iconv - "ISO-8859-1" to "UTF-8"
I created a NodeJS application which should get some data from an external API-Server. That server provides its data only as 'Content-Type: text/plain;charset=ISO-8859-1'. I have got that information through the Header-Data of the server.
Now the…

OlsonLong
- 95
- 1
- 2
- 13
2
votes
2 answers
2
votes
0 answers
Webpack changes charset in CSS styles
I have a CSS file, that I need to import into my application. And my problem is that Webpack replaces strings like "\f2e9" to unreadable thing.
For example. That's the part of the stylesheet I import:
.grid-cell.grid-cell-state-error:before {
…

Yoskutik
- 1,859
- 2
- 17
- 43
2
votes
3 answers
How to type text in Russian from clipboard using applescript without changing the system language on the Mac?
I automate the filling of forms in Latin alphabet, but in one place there is a field where i need to type the text in Russian.
Before filling in, I copy the desired word in Russian and I want to type it from the clipboard without changing system…

Bro
- 27
- 6
2
votes
0 answers
http-server: How to disable charset for .wasm files?
I am running a https server (Apache?) on my Mac. Done by this hints:
https://medium.com/@jonsamp/how-to-set-up-https-on-localhost-for-macos-b597bcf935ee
It serves my wasm-files with charset and I get: TypeError: WebAssembly: Response has unsupported…

karlos
- 21
- 3
2
votes
1 answer
Decoding array of hexadecimal bytes to a specific codepage brings a wrong result when encoding afterwards
I created a simple app which looks like this:
String stringValue = new String(new byte[] { 0x00, 0x00, 0x00, 0x25 }, "273");
byte[] valueEncoded = Arrays.copyOfRange(stringValue.getBytes("273"), 0, 4);
int finalResult =…

doct0re
- 373
- 4
- 10
2
votes
1 answer
Arabic text shows strange characters Ø§Ù„ÙØ¨Ø§Ù‰ انگليسى ØŒ
I have Arabic text (.sql pure text). When I view it in any document, it shows like this:
ØØ±Ù اول Ø§Ù„ÙØ¨Ø§Ù‰ انگليسى ØŒ ØØ±Ù اضاÙÙ‡ مثبت
But when I use an HTML document with

barnamah
- 39
- 4
- 9