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

unicode characters

In my application I have unicode strings, I need to tell in which language the string is in, I want to do it by narrowing list of possible languages by determining in which range the characters of string are. Ranges I have from…
0
votes
1 answer

Sharepoint Changing URL Special characters

I have a URL stored in a Sharepoint 'Link to a document' that contains the Nordic Character 'Ø' as hex(%D8). Sharepoint is encoding the % symbol, (thus making it %25D8). If I enter the URL directly into an address bar, it works fine. If I don't URL…
Paul Lawrence
  • 197
  • 3
  • 14
0
votes
1 answer

python latin2 to Non-ISO extended-ASCII text

Hi i write script prasing text from web and my otput file must be in Non-ISO extended-ASCII text, with CRLF, LF line terminators How i can write file as this codepage ?. def save_file(potoczek, nazwapliku): file = open(nazwapliku,"w") …
Dzaczek
  • 46
  • 1
  • 8
0
votes
3 answers

Hebrew encoding in Java

I having an encoding issue. I have an android application that consists of a text field allowing a user to use a hebrew keyboard and key in hebrew characters. I wish to encode this data according to the pc862 hebrew code page so that I may send it…
user1313973
  • 11
  • 1
  • 3
0
votes
2 answers

HtmlElementEventArgs KeyPressedCode Confusion

I'm using the following code to decide if a '.' (full stop) has been entered into a webbrowser control: private void body_KeyUp(object sender, HtmlElementEventArgs e) { if (e.KeyPressedCode == '.') { // Do…
rizraz
0
votes
3 answers

.Net unicode problem, vb6 legacy

I have a decryption routine in VB6. I now want the same decryption in C#. The strings that need decryption are in unicode, so I use Encoding.Unicode.GetString to read the input in C#. The input now looks exactly the same as in VB6. The first few…
Michel van Engelen
  • 2,791
  • 2
  • 29
  • 45
-1
votes
1 answer

VS Code terminal not using same codepage as VS Code editor

How do I tell VS Code terminal to use same codepage as Editor? This code: class Program { static void Main(string[] args) { WriteLine("æøå;ÆØÅ"); } } (encoded in UTF-8 with BOM) outputs æoå;ÆOÅ instead of æøå;ÆØÅ when run with dotnet run in…
-1
votes
1 answer

How to change default code page for Net Core console application

How can i change the default encoding for the Net Core console application? I'm using a legacy library written in .Net framework that needs to read files in windows-1251 code page but won't allow me to specify it as a parameter. Only option…
MiguelSlv
  • 14,067
  • 15
  • 102
  • 169
-1
votes
2 answers

how to detect non-ascii characters in C++ Windows?

I'm simply trying detect non-ascii characters in my C++ program on Windows. Using something like isascii() or : bool is_printable_ascii = (ch & ~0x7f) == 0 && (isprint() || isspace()) ; does not work because non-ascii…
Dakoteus
  • 1
  • 1
  • 3
-1
votes
1 answer

How to restore text broken due to wrong encoding in Delphi?

I use Delphi 2009. I receive a text as String that looks like 'Р’РёР·РіСѓРЅРѕРІ (ранний) {VHS}'. Using online decoders, I was able to determine that it's actually Win-1251 codepage. What should I do to restore it back to normal, in other words…
Max Smith
  • 395
  • 1
  • 2
  • 13
-1
votes
1 answer

Converting Code pages in c++

What is equivalent of the C# string conversion code (between code pages): public static string Convert(string s) { Encoding encoder = Encoding.GetEncoding(858); return Encoding.Default.GetString(encoder.GetBytes(s)); } in VC++ (not CLR),…
algorytmus
  • 953
  • 2
  • 9
  • 28
-1
votes
2 answers

ANSI value of RTL character

I want to know the ANSI value of the character "\u202B" that make RTL alignment in the text file, the problem that I've used it in UTF8 file and it makes the text RTL but when the text file is ANSI it shows marks "???" that means that this character…
Mahmoud Ismail
  • 187
  • 1
  • 3
  • 12
-1
votes
1 answer

utf8 to char encoding in pure C code example

I have problem in working with strings in pure C lang (c89 standard). I receive some text from web service using sockets in utf8 format. Everything is ok with latin character. But I also have some cyrillic. And it is shown something like Ð’…
salvicode
  • 227
  • 2
  • 12
-1
votes
1 answer

What is D2007 doing with degree symbols on Japanese/Korean/Chinese OS

I have an app that uses ° (degree symbol , ANSI #176) in various places and I cannot understand the different ways it displays - some are correct but others look as if there's been a conversion to UTF-8 and then back to ANSI. Generally it appears OK…
-1
votes
1 answer

How to make Windows 7 to support 12000(UTF-32) code page or 1200(UTF-16) code page?

Is there a way to make windows 7 to support 12000(UTF-32) code page or 1200(UTF-16) code page?
shaohu
  • 49
  • 1
1 2 3
30
31