15,321 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-1
votes
0
answers
36
views
Determining PHP/MySQL encoding differences on 2 machines: MySQL Error 1366 only on one machine [duplicate]
I have some PHP pdo code that is copying data from one table (wp_posts) to another (a relational table structure). This is in the same schema with default
CHARSET=utf8mb4 COLLATE=...
1
vote
2
answers
128
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 ...
-1
votes
1
answer
88
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, ...
4
votes
2
answers
114
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, ...
-7
votes
1
answer
194
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 ...
3
votes
1
answer
197
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 ...
1
vote
1
answer
71
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
109
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 ...
0
votes
0
answers
52
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 ...
21
votes
4
answers
2k
views
Why doesn't printing a Unicode character with wprintf work?
I made a small C program that should print an emoji:
#include <stdio.h>
#include <windows.h>
int main(void) {
SetConsoleOutputCP(CP_UTF8);
printf("\U0001F625\n"); // π₯
...
0
votes
2
answers
134
views
Parsing UTF-8 XML using DefaultHandler: when / how does it become UTF-16 in Java?
I have a Java program that was working perfectly in Corretto 17, but is now having character set encoding issues in Corretto 25.
I am reading a UTF-8 encoded XML from an external API. The code is ...
4
votes
1
answer
121
views
Are spelling variations of encoding identifiers for "setlocale" standardized or documented?
This question has to do with syntactic conventions for string encoding identifiers in locale names passed to setlocale in C, focusing on the particular example of UTF-8. My preliminary observation is ...
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
44
views
How can I know what encoding to use when reading & writing CFDataRef entries to macOS Keychain via the C-based SecItem API?
I'm writing FFI bindings to macOS' C-based Keychain Services API for use in a plugin.
The Keychain Services API takes CFDataRef values, which allows storing arbitrary bytes to the Keychain, but the ...
-2
votes
1
answer
56
views
How to pass special chars to nodemailer?
I want to pass a string to nodemailer so that it results in
=C2=A0
i tried to pass in both 'Γ ' (the literal chars), "\xC2\xA0", etc.
But they always result in =C3=A9
A longer example in ...