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
3
votes
1 answer

What codepage/charset should be used to interpret data coming from an MVS system into a Java Environment?

I've come into an interesting problem (as is often the case in interacting with legacy systems). I'm working on an application (which currently runs on a x86 Linux or Windows system) that can receive requests from a variety of systems, one of them…
user100645
  • 33
  • 1
  • 4
3
votes
3 answers

SQL-like expression can't find half space character (Zero-Width-Non-Joiner (ZWNJ))

In the code below I want to select token where this token contain half space character. Select * from (select token = 'aaa‏‏sss') as dd where token like '%‏‏%' favorable response: aaa‏‏sss output response: null notation: This…
EMAI
  • 694
  • 6
  • 14
3
votes
1 answer

how to print indian languages in ESC/POS printer? how to encoding?

I’m using Qz-tray ESC/POS printer. printer print the Tamil characters like ????????. Some people say I need to enable encoding the Indian character code page. How to find the Tamil language code page number? Sample code: this.get_dashes('\x2D', 48)…
Bot coder
  • 75
  • 4
3
votes
0 answers

How to execute windows commands (ipconfig,netstat) with specific locale/codepage using python

I want to parse to output of windows commands such as ipconfig, netstat, tasklist etc. using python. But certain part (Fixed) of output of these commands is returned based on current locale/codepage. E.g. in ipconfig output the string IP…
Rakesh
  • 271
  • 1
  • 2
  • 11
3
votes
1 answer

Yet another code page detection question

OK, before you jump at me with spears and take me away to the burning battlefield of code pages, please note that I am not trying to auto-detect the code page of a text. I know that's not possible. But what I do not know to be possible is to…
Daniel
  • 1,391
  • 2
  • 19
  • 40
3
votes
1 answer

How to get alpha character (α) in DOS/Asembler?

I'm in college and have few Asembler classes. My teacher gave us code below: .286 .model small .data .stack 64h .cide main: MOV AX,0B800H MOV ES,AX MOV ES:[240], 7C03H MOV AH,1h INT 21h MOV AX,4C00H INT 21h end main It simply puts red heart…
qwardes
  • 51
  • 2
3
votes
2 answers

Printing special (non-Latin) characters in a legacy-BIOS bootloader

I'm making a simple bootloader. I want to print some non-latin text on the screen but it can't print the character 'ü' correctly. How can I make my OS print characters like ü? I've searched for it but I couldn't find anything about it. main.asm [org…
3
votes
2 answers

How I can remove null values and keys from JSON using cobol statments- V6.1 COBOL ENTERPRISE

I can't figure out how to remove null values (and corresponding keys) from the output JSON. Using JSON GENERATE, I am creating JSON output and in output I am getting \U0000 as null. I want to identify and remove null values and keys from the…
3
votes
7 answers

Convert from Codepage 1252 (Windows) to Java, in Java

I have some strings in Java (originally from an Excel sheet) that I presume are in Windows 1252 codepage. I want them converted to Javas own unicode format. The Excel file was parsed using the JXL package, in case that matter. I will clarify:…
Jakob Eriksson
  • 33
  • 1
  • 1
  • 6
3
votes
2 answers

Does gnome-terminal support DOS code pages?

In my C program I've had to swap my unicode box-drawing characters into escaped characters for DOS code page 437 to get it to work in the Windows command prompt. Is it possible to change the code page of gnome-terminal to display these characters…
Adam M-W
  • 3,509
  • 9
  • 49
  • 69
3
votes
1 answer

PowerShell script runs when pasted into the PowerShell window, but not when run from shortcut

I am trying to put together a script that will convert several Excel files into PDF files. I found a link to one online that works. $path = Read-Host -Prompt 'Input Directory Path and Press Enter' $xlFixedFormat =…
CBeals
  • 31
  • 1
  • 3
3
votes
1 answer

Has anyone used ICU with Delphi?

Has anyone used the ICU ( see http://site.icu-project.org/ ) DLLs from Delphi? Specifically I'm interested in the Code Page Conversion and Collation functions. Looking at the header files it would appear that they are mostly in C++ using classes, so…
Thorsten Engler
  • 2,333
  • 12
  • 13
3
votes
4 answers

How to convert encodingName to codePage identifier?

Given the name of an encoding, how can i get the corresponding codePage identifier? For example: "iso-8859-1": 28591 "windows-1252": 1252 "IBM500": 500 "utf-16le": 1200 "utf-8": 65001 Hypothetical use case: the Windows function MultiByteToWideChar…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
3
votes
1 answer

Get a code page for each locale in OEM and Ansi

How do I get the code page for each locale (not only for my locale)? I looking for a simple function in python / c# / c (prefer with python or c#) to found for each locale that I want what is the code page in Ansi and in OEM.
3
votes
2 answers

How do I prevent a non-Unicode application to convert charset of resources when loading them on a differently localized machine?

We have a non-Unicode, C++ application, written with Visual Studio, that has been originally written for machines using the codepage 1252 character set. Our application performs many post-processing steps on the contents of the resources after…
Benoit
  • 76,634
  • 23
  • 210
  • 236