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

Tomcat 9 welcome file encoding is wrong

I have an index.html file: Annuaire…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/tomcat" class="post-tag grid--cell" title="show questions tagged 'tomcat'" rel="tag">tomcat</a> <a href="../../questions/tagged/encoding" class="post-tag grid--cell" title="show questions tagged 'encoding'" rel="tag">encoding</a> <a href="../../questions/tagged/utf-8" class="post-tag grid--cell" title="show questions tagged 'utf-8'" rel="tag">utf-8</a> <a href="../../questions/tagged/charset" class="post-tag grid--cell" title="show questions tagged 'charset'" rel="tag">charset</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Oct 28 '21 at 15:36">asked Oct 28 '21 at 15:36</time> <a href="../../users/2113003/shimbawa" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2113003.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Shimbawa" /> </a> <div class="s-user-card--info"> <a href="../../users/2113003/shimbawa" class="s-user-card--link">Shimbawa</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">262</li> <li class="s-award-bling s-award-bling__silver" title="3 silver badges">3</li> <li class="s-award-bling s-award-bling__bronze" title="12 bronze badges">12</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-69613396"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>2</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>0</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/69613396/webpack-changes-charset-in-css-styles" class="question-hyperlink">Webpack changes charset in CSS styles</a></h3> <div class="excerpt">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 { …</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/html" class="post-tag grid--cell" title="show questions tagged 'html'" rel="tag">html</a> <a href="../../questions/tagged/css" class="post-tag grid--cell" title="show questions tagged 'css'" rel="tag">css</a> <a href="../../questions/tagged/webpack" class="post-tag grid--cell" title="show questions tagged 'webpack'" rel="tag">webpack</a> <a href="../../questions/tagged/sass" class="post-tag grid--cell" title="show questions tagged 'sass'" rel="tag">sass</a> <a href="../../questions/tagged/charset" class="post-tag grid--cell" title="show questions tagged 'charset'" rel="tag">charset</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Oct 18 '21 at 09:03">asked Oct 18 '21 at 09:03</time> <a href="../../users/11589183/yoskutik" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/11589183.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Yoskutik" /> </a> <div class="s-user-card--info"> <a href="../../users/11589183/yoskutik" class="s-user-card--link">Yoskutik</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1,859</li> <li class="s-award-bling s-award-bling__gold" title="2 gold badges">2</li> <li class="s-award-bling s-award-bling__silver" title="17 silver badges">17</li> <li class="s-award-bling s-award-bling__bronze" title="43 bronze badges">43</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-68778773"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>2</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>3</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/68778773/how-to-type-text-in-russian-from-clipboard-using-applescript-without-changing-" class="question-hyperlink">How to type text in Russian from clipboard using applescript without changing the system language on the Mac?</a></h3> <div class="excerpt">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…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/javascript" class="post-tag grid--cell" title="show questions tagged 'javascript'" rel="tag">javascript</a> <a href="../../questions/tagged/encoding" class="post-tag grid--cell" title="show questions tagged 'encoding'" rel="tag">encoding</a> <a href="../../questions/tagged/applescript" class="post-tag grid--cell" title="show questions tagged 'applescript'" rel="tag">applescript</a> <a href="../../questions/tagged/automator" class="post-tag grid--cell" title="show questions tagged 'automator'" rel="tag">automator</a> <a href="../../questions/tagged/charset" class="post-tag grid--cell" title="show questions tagged 'charset'" rel="tag">charset</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Aug 13 '21 at 22:03">asked Aug 13 '21 at 22:03</time> <a href="../../users/16579763/bro" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/16579763.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Bro" /> </a> <div class="s-user-card--info"> <a href="../../users/16579763/bro" class="s-user-card--link">Bro</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">27</li> <li class="s-award-bling s-award-bling__bronze" title="6 bronze badges">6</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-68136479"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>2</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>0</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/68136479/http-server-how-to-disable-charset-for-wasm-files" class="question-hyperlink">http-server: How to disable charset for .wasm files?</a></h3> <div class="excerpt">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…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/macos" class="post-tag grid--cell" title="show questions tagged 'macos'" rel="tag">macos</a> <a href="../../questions/tagged/server" class="post-tag grid--cell" title="show questions tagged 'server'" rel="tag">server</a> <a href="../../questions/tagged/mime" class="post-tag grid--cell" title="show questions tagged 'mime'" rel="tag">mime</a> <a href="../../questions/tagged/webassembly" class="post-tag grid--cell" title="show questions tagged 'webassembly'" rel="tag">webassembly</a> <a href="../../questions/tagged/charset" class="post-tag grid--cell" title="show questions tagged 'charset'" rel="tag">charset</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jun 25 '21 at 19:57">asked Jun 25 '21 at 19:57</time> <a href="../../users/10233289/karlos" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/10233289.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="karlos" /> </a> <div class="s-user-card--info"> <a href="../../users/10233289/karlos" class="s-user-card--link">karlos</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">21</li> <li class="s-award-bling s-award-bling__bronze" title="3 bronze badges">3</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-67962074"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>2</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/67962074/decoding-array-of-hexadecimal-bytes-to-a-specific-codepage-brings-a-wrong-resu" class="question-hyperlink">Decoding array of hexadecimal bytes to a specific codepage brings a wrong result when encoding afterwards</a></h3> <div class="excerpt">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 =…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/java" class="post-tag grid--cell" title="show questions tagged 'java'" rel="tag">java</a> <a href="../../questions/tagged/string" class="post-tag grid--cell" title="show questions tagged 'string'" rel="tag">string</a> <a href="../../questions/tagged/encoding" class="post-tag grid--cell" title="show questions tagged 'encoding'" rel="tag">encoding</a> <a href="../../questions/tagged/character-encoding" class="post-tag grid--cell" title="show questions tagged 'character-encoding'" rel="tag">character-encoding</a> <a href="../../questions/tagged/charset" class="post-tag grid--cell" title="show questions tagged 'charset'" rel="tag">charset</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jun 13 '21 at 19:43">asked Jun 13 '21 at 19:43</time> <a href="../../users/12202904/doct0re" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/12202904.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="doct0re" /> </a> <div class="s-user-card--info"> <a href="../../users/12202904/doct0re" class="s-user-card--link">doct0re</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">373</li> <li class="s-award-bling s-award-bling__silver" title="4 silver badges">4</li> <li class="s-award-bling s-award-bling__bronze" title="10 bronze badges">10</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-66031696"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>2</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/66031696/arabic-text-shows-strange-characters-ossu-uo-ossu-0-ossu-u-u-uso3u-0-ooe" class="question-hyperlink">Arabic text shows strange characters Ø§Ù„ÙØ¨Ø§Ù‰ انگليسى ØŒ</a></h3> <div class="excerpt">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 <meta http-equiv="Content-Type" content="text/html;…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/unicode" class="post-tag grid--cell" title="show questions tagged 'unicode'" rel="tag">unicode</a> <a href="../../questions/tagged/arabic" class="post-tag grid--cell" title="show questions tagged 'arabic'" rel="tag">arabic</a> <a href="../../questions/tagged/farsi" class="post-tag grid--cell" title="show questions tagged 'farsi'" rel="tag">farsi</a> <a href="../../questions/tagged/charset" class="post-tag grid--cell" title="show questions tagged 'charset'" rel="tag">charset</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Feb 03 '21 at 16:31">asked Feb 03 '21 at 16:31</time> <a href="../../users/2718441/barnamah" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2718441.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="barnamah" /> </a> <div class="s-user-card--info"> <a href="../../users/2718441/barnamah" class="s-user-card--link">barnamah</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">39</li> <li class="s-award-bling s-award-bling__silver" title="4 silver badges">4</li> <li class="s-award-bling s-award-bling__bronze" title="9 bronze badges">9</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <div class="s-pagination--item is-selected">1</div> <a class="s-pagination--item" href="../../questions/tagged/charset_page=2" rel="" title="Go to page 2">2</a> <a class="s-pagination--item" href="../../questions/tagged/charset_page=3" rel="" title="Go to page 3">3</a> <a class="s-pagination--item" href="../../questions/tagged/charset_page=4" rel="" title="Go to page 4">4</a> <a class="s-pagination--item" href="../../questions/tagged/charset_page=5" rel="" title="Go to page 5">5</a> <a class="s-pagination--item" href="../../questions/tagged/charset_page=6" rel="" title="Go to page 6">6</a> <a class="s-pagination--item" href="../../questions/tagged/charset_page=7" rel="" title="Go to page 7">7</a> <a class="s-pagination--item" href="../../questions/tagged/charset_page=8" rel="" title="Go to page 8">8</a> <a class="s-pagination--item" href="../../questions/tagged/charset_page=2" rel="next" title="Go to page 2"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>