15,290 questions
Score of -3
1 answer
144 views
Encoding detected wrong, reading fails [closed]
I want to read CSV files with a German encoding saved by Windows.
I try to detect the encoding with this code:
# detect encoding
with open(impportFile, "rb") as f:
...
Score of -3
1 answer
75 views
ZPL code, 2 lines [closed]
Can someone show me the code to generate "FEFCO" on line 1 and "0410" on line 2 directly underneath, in ZPL? I'm trying to create a file to send to my printer for box on demand
Advice
0
votes
6
replies
119
views
Can't get the right Charset on a Java app
I am building a simple java app that uses a few rest webservices (that get parameters from the url) to insert into a database data that is relevant to the progress of some students in a course. This ...
Score of -4
1 answer
115 views
Why doesn't my HTML page charset declaration seem to apply to GitHub Pages?
I've published my page at GitHub Pages. When I open the site, web browser ignores my charset declarations, but if I open the page's file locally, or from the other file-publication-service, the ...
Score of 0
1 answer
78 views
illegal sequence 0x82 0x51 for Shift JIS
I have the byte sequence 0x83 89 83 93 83 4F 83 8A 83 62 83 54 81 5B 82 51 and it I have to guess if it is plain ASCII or (some sort of) Shift JIS. It comes from a Sega Mega Drive image, where the ...
Advice
1
vote
11
replies
179
views
MS Excel displays garbled characters for Azerbaijani text in CSV file exported with UTF-8 encoding
I'm generating a CSV file with Azerbaijani text using Java and UTF-8 encoding with BOM. The file opens correctly in WPS Office, but when opened in MS Excel, Azerbaijani characters appear as garbled ...
Score of 0
0 answers
285 views
Gibberish symbols in Codex under Windows cmd in Windows Terminal
This is the kind of output I see in OpenAI's Codex under Windows Cmd in Windows Terminal (:
Note all the extra symbols. In particular, look at options 2 and 3.
Gemini suggested running chcp 65001. ...
Score of 1
2 answers
169 views
Is there a way to automatically convert files from UTF-16 to ASCII during git rebase?
I'm in the process of transferring old repositories from visualstudio.com to GitHub. The repos used to be private and contains user names and email addresses that should not be made public. Thus I ...
Score of -1
1 answer
144 views
Setting database encoding to latin
I'm trying to switch the default encoding of the database from UTF-8 to latin. I'm on Windows and VertrigoServ, I've edited the file my.ini under MySQL directory like this:
Under [mysqld] section, ...
Score of 3
2 answers
169 views
Error running Python script: 'utf-8' codec can't decode byte 0xed in position 79: invalid continuation byte
C:\inetpub\wwwroot\proyecto_transporte>python conexion.py
Unexpected error: 'utf-8' codec can't decode byte 0xed in position 79: invalid continuation byte
I already tried saving the file as ANSI, ...
Score of -7
1 answer
208 views
Is the source code representation in the Go Programming Language the same as in Git? [closed]
git(1) uses one representation when storing source code (not binary) by default which IIRC is utf-8 (no working-tree-encoding). Is this the same default as in Go?
I tried comparing to Git but have ...
Score of 3
1 answer
211 views
Why do some web browsers incorrectly display currencies produced by NumberFormatter
Why some older web browsers (not all) incorrectly display currency symbols when symbols are produced by php NumberFormatter() but display correct symbol when given as html entity. Since correct symbol ...
Score of 1
1 answer
102 views
spring boot web polish characters encoding problem
In Spring Boot 2.6.0 java 8 application configuration class has content:
@Configuration
public class Internationalization implements WebMvcConfigurer {
// localeResolver, localeChangeInterceptor,...
Advice
0
votes
2
replies
144
views
Force all character columns in a list of data frames to UTF-8 before uploading to a UTF-8-only database
I have a list of two tables in R.
Each data frame contains several character and numeric columns. One of the columns is a company name column (for example, Company_Name).
The target database only ...
Score of 0
0 answers
98 views
GitLab CI Allure Report Shows Garbled Characters in Console Output
I'm experiencing intermittent issues with Allure reports in GitLab CI where the console log occasionally displays garbled/corrupted characters instead of readable output.
This doesn't happen ...