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.

Code page is another term for , popular with some vendors (IBM, Microsoft, Oracle, etc). It consists of a table of values that describes the character set for a particular language.

See also http://en.wikipedia.org/wiki/Code_page

458 questions
4
votes
3 answers

How to convert argv to wide chars in Win32 command line application?

I'm using the win32 api for C in my program to read from a serial port, it seems to be pretty low level stuff. Assuming that there is no better way of reading from a serial port, the CreateFile function involves a LPCWSTR argument, I've read and it…
Michael
  • 5,994
  • 7
  • 44
  • 56
4
votes
2 answers

How to Convert UTF-8 Arabic letters to CodePage 1001?

I have a Star Micronics TSP that supports CodePage 1001 Arabic, how do I convert UTF-8 to that specific code page using C#? Update: I found out that CodePage 864 is compatible with the printer, I tried sending hex values and I got the correct…
Abdusalam Ben Haj
  • 5,343
  • 5
  • 31
  • 45
4
votes
0 answers

How to create custom alt codes or modify existing ones?

As said in the title, I have the need of typing symbols like greek letters and math symbols often. My most common use of these symbols is in plain text. In systems like mine (spanish is the system language), existing alt codes some times don't work…
4
votes
5 answers

How to print Asian languages to a thermal printer from Flutter?

I am using the Flutter package esc_pos_printer 1.5.0 to print to a thermal printer. It all works fine if I print Latin characters. I have tried using the mutilingual code page but it always fails when trying to print Thai characters. I need to be…
markhorrocks
  • 1,199
  • 19
  • 82
  • 151
4
votes
2 answers

C# ESC/POS Print Vietnamese

I have an application which print the receipt to receipt printer using ESC/POS. It needs to support multi-languages. Currently, I've tested with Chinese characters (both traditional and simplified) and Thai language. They all are working…
Sam
  • 1,826
  • 26
  • 58
4
votes
2 answers

Tool to convert code source from a codepage to UTF-8?

I'm working on an open source project. The original project contains comments in russian and is using codepage 1251. I'm using codepage 1252 and the russian comments aren't displayed correctly in Visual Studio Express 2008, not nice but anyway I…
Name
  • 3,430
  • 4
  • 30
  • 34
4
votes
1 answer

Get numeric codepage from java Charset object

How can I get the numeric codepage identifier associated with a Charset object in java (ie. 1252) ?. I can call to displayName() method but it returns alphanumeric identifiers (like "windows-1252", "cp-1252", "CP1252", ...), not only the int…
Bitnomad
  • 41
  • 1
4
votes
1 answer

If my OEMCP is set to 437 then why is my cmd.exe default codepage 932? and how do I fix this?

A long time ago I wanted to change the default codepage (CP) of windows console to UTF-8 (to view japanese characters). I can't remember the commands I used, but anyway I eventually managed to be able to view the characters on the cmd.exe. After a…
user22200
  • 43
  • 5
4
votes
2 answers

How to specify a local file with special characters in its name or path like ä, ö, ü in a Windows batch file?

On my Windows machine I have a tiny script (.bat) to start a number of programs I use for my ordinary work such as Word, Outlook, a certain Excel file, etc. An unsolved problem is that I cannot specify a certain Excel file that is stored in a local…
4
votes
1 answer

How to use box drawing high ASCII characters in Visual Studio 15 console app?

I have a Win32 console app that plays the game of life in a CMD window. I would like to draw a box around the field using some of the standard box drawing characters such as: (186: ║), (187: ╗) (188: ╝), (200: ╚), (201: ╔), (205: ═) but I'm not…
JSz
  • 127
  • 1
  • 3
4
votes
1 answer

How select the right codepage to decode the content encoded by CArchive

In .net I want to decode some raw data encoded by a C++ application. C++ application is 32 bit and C# application is 64bit. C++ application supports Russian and Spanish characters, but it doesn't support unicode characters. This C# binary reader…
CharithJ
  • 46,289
  • 20
  • 116
  • 131
4
votes
1 answer

Save INI file in UTF-8 rather than ANSI in Inno Setup

I'm starting to use Inno Setup, and I have some problems with my INI file encoding. I want to save user input in the INI file, and this input can contain accents. I use Inno Setup Unicode, my setupScript.iss is UTF-8 encoded, and here is my code (a…
wyllyjon
  • 505
  • 1
  • 5
  • 20
4
votes
2 answers

Terminology and concepts surrounding the use of code pages

I'm in the process of researching code pages and have come across many conflicting uses of terminology, even amongst different Wikipedia entries. I just can't find a source of information that spells out the entire character handling process from…
jaytea
  • 1,861
  • 1
  • 14
  • 19
4
votes
2 answers

Codepage 850 works, 65001 fails! There is NO response to "call foo.cmd". internal commands work fine

The question basically explains the problem. I'm using Windows XP Pro Service Pack 3 ComSpec=C:\WINDOWS\system32\cmd.exe I launched the console via Start... Run-dialog... cmd.exe Here is a "view" of my console: The command, then the output (and my…
Peter.O
  • 6,696
  • 4
  • 30
  • 37
4
votes
1 answer

How can I change console font?

I have a problem with output Unicode in Windows XP console. (Microsoft Windows XP [Version 5.1.2600]) First code is that(from http://www.siao2.com/2008/03/18/8306597.aspx) #include #include #include int main(void) { …
P-P
  • 1,670
  • 5
  • 18
  • 35