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
1
vote
0 answers

# STOP-PRESS - This is a GAWK issue # How do I get Windows 10 to get CodePages to correctly display?

How do I get Windows 10 to get CodePages to correctly display? STOP PRESS More investigation (creating echo of x80-ff) shows Windows is fine, it's a GAWK print (or terminal/driver) issue As shown in following screenshot of GAWK then ECHO of CP737…
brewmanz
  • 1,181
  • 11
  • 17
1
vote
1 answer

Character-encoding problem with string literal in source code

$logstring = Invoke-Command -ComputerName $filesServer -ScriptBlock { param( $logstring, $grp ) $Klassenbuchordner = "KB " + $grp.Gruppe $Gruppenordner = $grp.Gruppe $share = $grp.Gruppe …
1
vote
0 answers

Strange behaviour how Forfiles treat swedish

Forfiles with swedish characters don't work smothless... I use a Swedish computer and the Forfiles treat swedish characters very strange. It can treat one instans correct and in the next be stupid. I have struggled with this problem for a long time…
1
vote
2 answers

Parse Windows CSV on Linux in Apache Spark

I am trying to parse a CSV file coming from a Windows machine on a Linux machine using Apache Spark, but accentuated characters do not seem to be recognized... Dataset df = spark .read() .format("csv") .option("header", "true") …
Laura Webster
  • 21
  • 1
  • 6
1
vote
1 answer

Print extended ASCII char in C, Linux

Im trying to print all extended ASCII chars. I have found a code on forum: #include #include #include #include int main(void) { wchar_t c; setlocale(LC_ALL, "C"); for (c = 128; c < 256; c++) { …
magnus250
  • 97
  • 3
  • 12
1
vote
2 answers

How to see which ANSI code page is used in Windows?

How can I get the number of ANSI code page that define in my Windows? I serach a simply way , via command line is the best, but via c/c# is pretty good (python is the worst way) I looking so much and dind't find any simple way
Lolo9876
  • 11
  • 5
1
vote
1 answer

Convert text to Latin encoding and decode back problem for Vietnamese

I'm trying to convert Vietnamese to Latin. It is a requirement to send the byte to ESC/P printer (see C# ESC/POS Print Vietnamese for reason why). But my question is very simple, look at this code: Encoding enc = Encoding.GetEncoding(1258);…
Sam
  • 1,826
  • 26
  • 58
1
vote
0 answers

Japanese encoding JIS_X_0208 codepage in python and C++

I am trying to encode and decode Japanese characters that are incoded in JIS_X_0208. In python I use this command to encode my string from uft-8 to japanese characters string.decode('utf8').encode('iso2022_jp') to encode the kanji properly I…
Gophys
  • 51
  • 5
1
vote
0 answers

Error converting string to int

I was scraping a page, and I tried to convert some text from page to int, but I got input string was not in correct format text is not in English: "۲۳" But the page codepage is Utf8 At first I tried, int.parse, Convert.ToInt32. No luck,…
Amirreza
  • 575
  • 9
  • 25
1
vote
2 answers

PHP: Simple XML and different codepages and getting the data correctly

I am working on this project where I receive different XML files from different sources. My PHP script should read them, parse them, and store them into the mysql database. To parse the XML files, I use the SimpleXMLElement class in PHP. I receive…
scippie
  • 2,011
  • 1
  • 26
  • 42
1
vote
1 answer

Using another language (code page) in a batch file made for others

So I have a batch file tool that is originally in English, and I am having translated to various other languages. My situation is that many languages use special characters. In my case, it is German. So I might have in the English one: echo…
NCSGeek
  • 13
  • 1
  • 4
1
vote
1 answer

Appending in Windows File - Null Characters Appearing

I'm creating Windows file through Informatica using codepage UTF 8 ( I tried other code pages as well). First I'm creating/writing file with header record and then appending detail records in same file. The issue is there are Null Characters…
1
vote
1 answer

Oracle Matrix for AL32UTF8 characterset

Using the DUMP command within Oracle, it produces the following : SQL> select dump(field1, 1016) from test_nls; Typ=1 Len=8 CharacterSet=AL32UTF8: c3,bd,c3,a3,c3,a1,c3,b6 Is there a AL32UTF8 matrix of sort out there where I can compare the two…
Unhandled Exception
  • 1,427
  • 14
  • 30
1
vote
1 answer

How to print national charset tables?

I would like (for pedagogic purpose) to display the tables of some national charsets, e.g. ISO 8859-9 (latin-9), ISO 8859-5 (Cyrillic), ISO 8859-6 (Arabic), CP1252, MacRoman, etc. For example : 0 1 2 3 4 5 6 7 8 9 a b c d e f 3: 0 1 2 3 4 5 6…
1
vote
1 answer

SQL Bulk Insert UTF-8

I have a UTF-8 file with a ¬ field delimiter and [CR][LF] row terminator. The SQL Version is Microsoft SQL Server 2014 (SP2-CU7) (KB4032541) - 12.0.5556.0 (X64) I am using bulk insert to load the txt tile in a table as below: DECLARE @bulk_cmd…
BIQuad
  • 15
  • 4