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
2
votes
5 answers

Issue processing a mainframe file ... encoding not working

http://www.2shared.com/document/VqlJ-1wF/test.html What is the encoding w/ which this file is encoded ? What's the best way to read this in Java ? Currently I have Scanner scanner = new Scanner(new File("test.txt"), "IBM850"); while…
mat
  • 21
  • 1
  • 2
2
votes
0 answers

How to set project default code page in visual studio

I have 2 projects, one from China, and another from Czech. And then I'm almost forced to go crazy. When I compile the project from China, I was told a lot of: C4819: Some Unicode characters in this file could not be saved in the current code…
pjincz
  • 1,782
  • 1
  • 12
  • 10
2
votes
2 answers

Cout char from different codepage than system uses

I need to put out a single char, but codepage my system using doesn't have that symbol (i.e. spanish exclamation point "¡"). Trying char excl = 173; cout.put(excl); but it types another symbol.
Alex.S
  • 33
  • 7
2
votes
3 answers

Weird Comparison Result in SQL Server

For characters that are do not have an explicit order that depends on the collation (i.e., that are not case-folded and/or do not have accents stripped), the ordering is based on the ordinal value of the code point in the base character set. If one…
Ryan
  • 1,040
  • 3
  • 16
  • 25
2
votes
0 answers

R: Unicode characters in data frame names

In R for Windows I can assign a unicode character as follows: (u <- "\U0444") # [1] "ф" However, assigning the string to a data frame gives an unreadable output: x <- data.frame(1) setNames(x,u) # # 1 1 Session Info R version…
antonio
  • 10,629
  • 13
  • 68
  • 136
2
votes
1 answer

Macron in c# console application

I'm trying to create a fortress using slashes and dashes and I need to use a macron(overscore). I've tried a couple of ways but none of them worked. Any ideas how to make it work? Instead of Macron I get '?' using System; using…
VG98
  • 114
  • 1
  • 12
2
votes
2 answers

Why doesn't explicit COLLATE override database collation?

I am on SQL Server 2008 R2 dev, server default collation is Cyrillic_General_CI_AS Executing in SSMS SELECT 'éÉâÂàÀëËçæà' COLLATE Latin1_General_CS_AS or SELECT 'éÉâÂàÀëËçæà' COLLATE Latin1_General_CI_AI outputs eEaAaAeEc?a on(in…
2
votes
1 answer

linux console how to change the codepage to dos cp437

I want to view some ansi-art on the linux local-console. (my setup:raspberry pi3 / newest raspbian - no x11) i've tried many different settings in raspi-config, dpkg-reconfigure console-setup, /etc files, environment vars but i had no luck yet. do i…
Tim Theede
  • 23
  • 4
2
votes
1 answer

Classic ASP: Emit Response with charset UTF-16

I need to do a script in classic ASP to generate a CSV file for the user to download. It needs to be encoded in "classic Windows Unicode", ie., UTF-16. I tried this: Response.Clear Response.ContentType = "text/csv" Response.Charset = "utf-16" …
angus
  • 2,305
  • 1
  • 15
  • 22
2
votes
1 answer

How to show arbitary characters in c?

warning C4566: character represented by universal-charac ter-name '\u2E81' cannot be represented in the current code page (936) Sometimes we need to display text in various languages such as Russian,Japanese and so on. But seems a single…
Alan
  • 5,029
  • 5
  • 32
  • 37
2
votes
1 answer

VS2008 - VB.net Font Dialog - Filter Fonts by Codepage/Language

Update (in response to first answer, from Hans Passant): I guess I didn't explain my use-case well enough. This application will be designed for people to enter data in a "master" language (most likely English, but not necessarily), and then…
MattC1999
  • 63
  • 1
  • 5
2
votes
3 answers

PHP - Convert CP-850 to UTF-8

How do I convert CP-850 to UTF-8 using PHP? What I've found and tried Gist - pedrosancao/CharsetConversion.php This seems like a fine solution, but since I'm working with a lot of text to change the encoding of, this is too slow. I got one process…
Timon de Groot
  • 7,255
  • 4
  • 23
  • 38
2
votes
2 answers

Incorrect Special Character Handling in Informatica Powercenter 9.1

I am currently working on a project in my organisation where we are migrating Informatica Powercenter in our application from v8.1 to v9.1. Informatica PC is loading data from datafiles but is not able to maintain certain special characters present…
2
votes
1 answer

How can I change a Windows code page in Python?

Consider: >>> a = os.popen('chcp 65001') >>> a.read() 'Active code page: 65001\n' >>> a.close() >>> a = os.popen('chcp') >>> a.read() 'Active code page: 437\n' >>> a.close() After I set the code page to 65001, the next time I call CHCP it should…
russo
  • 271
  • 2
  • 3
  • 9
2
votes
1 answer

Is it possible to MQPUT using MQCCSI_EMBEDDED?

I'm looking for a clean way of posting an XML message over a queue. Currently we have to inspect the XML encoding declaration and make sure to set the MQMD.ccsid accordingly (utf-8 = 1208). We also set the MQMD.format to MQFMT_NONE. This appears to…
Stavr00
  • 3,219
  • 1
  • 16
  • 28