Skip to main content

Questions tagged [codepages]

Code page is another term for character encoding. It consists of a table of values that describes the character set for a particular language.

0 votes
1 answer
68 views

why System.out.charset() not equals to stdout.encoding

My operating system is Windows 10, and the system's default code page is GBK. The JDK version is 21, and the Gradle version is 8.5. I use chcp 1252 to change the console encoding. In order to check ...
ok im's user avatar
  • 1
0 votes
2 answers
56 views

Can't open file passing as parameter to jar

If I run my project inside the IDE it works fine: EXISTS c:\testvideos\[video] ролик\video.mp4 but if I run it in the Windows console I'm getting error: NOT exists c:\testvideos\[video] ?????\video.mp ...
Ariloum's user avatar
  • 173
-3 votes
1 answer
75 views

What Microsoft SQL Server collation sorts by ASCII case insensitive?

I'm looking for a collation that sorts by ASCII but case insensitive but I am not having any luck finding one. To be explicit, the order I'm looking for is... ! " # $ % & ' ( ) * + , - . / 0 ...
sd.'s user avatar
  • 1
0 votes
1 answer
70 views

How to check a character is belong or not belong to specific code page?

I want to print the character only if it is not belong to specific code page. What function I can use for this purpose? with open('in.txt', 'r', encoding="utf-16-le") as f: while True: ...
CL So's user avatar
  • 3,749
2 votes
0 answers
110 views

What kind of UTF-8 is the one which Excel VBA uses for internal text representation?

I am using Excel 2007 on Windows 7 in Turkish. It is said that Excel VBA uses UTF-8 for internal text representation. There is something strange in case transformation beyond Turkish "İ" and ...
kitap mitap's user avatar
0 votes
0 answers
74 views

Saving utf-8 text as ansi file in python

with open("C:/temp/Python/infile.csv", "r", encoding="utf-8") as csv: for line in csv: line = line.strip() cells = line.split(";") ...
Albert's user avatar
  • 1
0 votes
1 answer
71 views

How can I write a strikethrough text to a printer that uses CP437 enconding?

I want to print a strikethrough text to a printer that uses a Code Page 437. We support this functionality in TF-8 printers adding b"\x1b\x4c" between every character. b"\x1b\x4c" ...
José Luis Del Pino García's user avatar
2 votes
0 answers
85 views

MAC CodePoint in Windows

When I examine different code pages on Windows OS, there is a code point named "MAC-CP" stands for default Macintosh code page, > (Get-WinSystemLocale).TextInfo ANSICodePage : 1254 ...
Ichigo Kurosaki's user avatar
0 votes
0 answers
57 views

^CI doesn't change the codepage in ZPL code or it's the problem of interpretation?

Here I've got a code on ZPL ^XA ^CWA,A:ARIALR.TTF ^CF20,60 ^FO10,130^BCN,100,Y,Y,N^FD[Штрихкод]^FS ^FX ^CF10,20 ^AAN,20,10 ^CI28^FO10,0^TBN,400,200^FD[Наименование1]^FS ^XZ The text fields ^FD[...
IvanSTV's user avatar
  • 362
0 votes
0 answers
1k views

How to set utf-8 encoding for files in Visual Studio for all new solutions

I want to all my text files (.cs, .cpp, ...) in Visual Studio (2022) to UTF-8 There is one solution for this situation when data in file cannot be saved in default system codepage: How to set standard ...
Tetrospectiva's user avatar
0 votes
0 answers
283 views

How to convert "\x81" to "ü" with codepage 1252 (windows 1252)

I am stuck with a simple task. I want to convert \x81 into ü with the use of codepage 1252 (windows 1252). My attempt: data = "\x81" print(data.encode('cp1252')) results with an error: ...
Michael's user avatar
  • 13
0 votes
1 answer
131 views

SikuliX 2.0.5 code page for using with Debug.user() and popup()

I'm running Sikuli-X v2.0.5 on an Ubuntu 22.04 with lang="de_DE.UTF-8". I've some trouble to get the right text output if it has umlaute ä,ö,ü For exemple if I try to output the text in a ...
akazen's user avatar
  • 1
1 vote
2 answers
340 views

PySpark failing to decode 'cp1047' when processing mainframe input

In one of my requirements is to decode a byte-array based on a cp1047 code page. A sample of my code is: ebcdic_str = input_bytes.decode('cp1047') The above code using python works correctly but ...
Kaushik Ghosh's user avatar
-1 votes
1 answer
2k views

VS Code terminal not using same codepage as VS Code editor

How do I tell VS Code terminal to use same codepage as Editor? This code: class Program { static void Main(string[] args) { WriteLine("æøå;ÆØÅ"); } } (encoded in UTF-8 with BOM) ...
Jan Andersen's user avatar
-2 votes
1 answer
687 views

How to fix codepage in nuget package manager console?

When I'm executing dotnet command in the nuget package manager, the output displayed in ANSI codepage instead of UTF8. Where can I find Visual Studio settings to change the characters encoding in that ...
Alex Dragokas's user avatar

15 30 50 per page
1
2 3 4 5
31