Questions tagged [code-page]

The term "code page" originated from IBM's EBCDIC-based mainframe systems, but Microsoft, SAP, and Oracle Corporation are among the vendors which use this term. The majority of vendors identify their own character sets by a name. In the case when there is a plethora of character sets, identifying character sets through a number is a convenient way to distinguish them.

Vendors that use a code page system allocate their own code page number to a character encoding, even if it is better known by another name; for example, UTF-8 has been assigned page numbers 1208 at IBM, 65001 at Microsoft, and 4110 at SAP.

17 questions
12
votes
3 answers

Is it possible to set "locale" of a Windows application to UTF-8?

We know there is an application called AppLocale, which can change the code page of non-Unicode applications, to solve text display problems. But there is a program whose right display code page is UTF-8, which means its text should be shown as…
3
votes
1 answer

Why sometimes the codepage is invalid in console?

Well, Umm... I am a little furious with the codepages in Windows(R) console. My aim is to change default CP into specific CP in the console without rebooting. Sounds easy, right? In Win7, the default CP can be changed into some CPs, but some…
3
votes
1 answer

How To Change Command Prompt Codepage in Windows?

I'm using dir command in a command prompt to export file & folders names, but I encounter problems with some Spanish characters: á é í ñ ó. My code page is 437, how can I change it to 850?
Pegaso
  • 33
3
votes
1 answer

chtag does not work on z/OS UNIX

I'm trying to tag ASCII files on z/OS host shell, so we do not have to specify the code page on the command line. > echo > iso.txt > chtag -t -c 819 iso.txt > vi iso.txt Type in "Hello" then quit and save > ls -T iso.txt t ISO8859-1 T=on …
Stavr00
  • 351
2
votes
1 answer

In cmd.exe with codepage 437, why are characters whose "number" is greater than 127 prepended with a ┬ when using type?

I have a file that contains some characters whose "number" is greater than 127. If I use type file.txt to display the content of the file in a cmd.exe console whose code page (chcp) is set to 437, these characters are prepended with a ┬ character. I…
1
vote
0 answers

How can I get Emacs to run correctly in a Windows console with codepage 65001 (UTF-8)?

When my codepage is set to 65001 (UTF-8) in a Powershell terminal, emacs -nw displays garbage. When the codepage is set to 437, emacs -nw works. I would like to be able to run emacs -nw (much quicker startup that way) and still have the codepage set…
Demi
  • 848
  • 2
  • 12
  • 22
1
vote
3 answers

Strange encoding when forwarding plain text email within the organisation

I have an issue, When I get a plain text format email (or sending one to myself) and then forwarding it within my organisation. Strange things happens with Swedish Characters ÅÖÄ and special characthers like @£$€. Swedish characters ÅÄÖ will become…
1
vote
1 answer

Windows 10 cmd prompt: cannot use German u-Umlaut (ü) in paths, and changing the code page strangely doesn't work

On my Windows 10 machine I am trying to run a "robocopy" command to backup files. Everything is fine as long as the paths (to folders to backup) do not contain letters like ö, ü, ä which whoever is inevitable as this is a German environment. Earlier…
1
vote
1 answer

Greek characters not showing properly on a legacy windows app

I have an old windows app, and in my machine Greek characters show up using a wrong codepage. Normally changing a setting in Regional Settings about what codepage to use for non-Unicode programs, solved such issues. But not for this app, and…
lalibi
  • 182
0
votes
0 answers

How to change console codepage?

How can I change codepage in console (Ctrl+Alt+Fn, not in terminal) to UTF8? I'm using ukrainian locale by default, so most programs have cyrillic symbols in their output, but they're displayed incorrect, while in gui terminal everything is OK. #…
Pavlus
  • 548
0
votes
1 answer

Different Alt codes with the same codepage

Alt+0120 on my computer prints "H" on my computer but on my friend's computer prints "x". The chcp command on both computers returns 720 as default code page. Do you have any idea what is different in our computers? Update 1 Here are some of the…
hhsaffar
  • 101
0
votes
0 answers

Not possible to print the Pipe character as a delimiter in our report

I have an old application and the reports generated in 1999. It was possible to print the report in right format and structure on a specific PC and specific printer but after moving to another place the PC and the printer are changed and after these…
0
votes
1 answer

How to change codepage for WSL console?

I've read Problems when using "New Windows Terminal" to ssh into non-UTF codepage servers where an answer suggests using LUIT or maybe Screen. But I am wondering if there is a different answer for the WSL console than for SSH I am using Oracle Linux…
0
votes
2 answers

Setting codepage 1252 in Windows 11 still gets cp 850 in terminals

On a Windows 11 device, I have the international settings (running "intl.cpl") set to Italian, for non-Unicode applications. Now, that results in applications like WinMerge guessing codepage 1252, which looks fine, from a Western European point of…
LuC
  • 101
  • 1
  • 4
0
votes
0 answers

Command line based tools problems after changing code page on windows 10

After changing code page on my windows-10 machine, I realized that when I connect to a server via ssh through any console (git-bash, windows-cmd, power-shell etc) after typing a few words on the console(when ssh connection is open), the connection…
ako
  • 101
1
2