Questions tagged [cp866]

Code page 866 is a extended ASCII character table to support Cyrillic characters.

Code page 866 is a extended ASCII character table to support Cyrillic characters.

CP866 («Alternative coding") - a set of characters that are widely spread in the power MS-DOS operating systems. It recorded the names of files in the system FAT, also encoding CP866 (as opposed to Windows-1251) retained pseudographic characters.

9 questions
2
votes
2 answers

Converting string from CP866 to UTF8

I have database(MSSQL) and it has a table with translations for Product names. One of the languages is russian. Example of a database entry ¸ą¤®åą ­Øā«ģ using Universal Cyrillic decoder I managed to find out that it is Прдохранитль as well as that…
HellOfACode
  • 1,675
  • 3
  • 18
  • 38
2
votes
1 answer

MySQL: mix of encoding in same column

I use OCS Inventory for inventorying of our PCs. It works almost fine, but... but 99% of these PCs works under Windows(R): XP and Seven. And there no any standard for WMI information. For example, OCS Agent (resident program on target PC, which…
Troublemaker-DV
  • 174
  • 1
  • 11
2
votes
0 answers

How to add support for encoding Cp866ukr in Android

How can I add support for Cp866ukr (for Ukrainian language) encoding in my Android application? I need to extend Charset class. Is there any open-source implementation of this charset for Java (like this for default Cp866)?
vitkt
  • 51
  • 5
2
votes
1 answer

Bytes decoding in D

I've got some wrongly decoded text fragment. It was decoded like cp866, but in fact it should be utf-8 ("нажал кабан на баклажан" --> "╨╜╨░╨╢╨░╨╗ ╨║╨░╨▒╨░╨╜ ╨╜╨░ ╨▒╨░╨║╨╗╨░╨╢╨░╨╜"). I'd like to fix it, and I've already written the code in Python…
Timushev Roman
  • 453
  • 4
  • 13
2
votes
4 answers

Any freeware java library to encode from Unicode to CP866?

I'm trying to print to a device which supports CP866 encoding only. Unfortunately the device from which I'm printing (an Android device) does not support CP866, resulting in "abc".getBytes("CP866") throwing the UnsupportedEncodingException. So, I…
Alexander Kulyakhtin
  • 47,782
  • 38
  • 107
  • 158
1
vote
0 answers

How can I read an ISO-9660 (or any other FS) with file names in non-UTF (CP866 in my case) codepage?

Actually the question is in the topic. I've got an old CD with ISO-9660/Juliet FS with filenames in CP866 (Neuro Burning ROM did a lot crazy things like that back in times). The disc mounts and works under Windows perfectly. I know it is CP866…
Sap
  • 914
  • 1
  • 6
  • 20
0
votes
1 answer

Net core Unzip a file with non-ASCII symbols

I have a task to extract files from zip archive. Unfortunately, as I found from another question here, windows explorer in win10 still uses cp866 to encode filenames inside of archive file. .NET Core doesn't support this codepage, so extracting the…
Laser42
  • 646
  • 2
  • 7
  • 24
0
votes
1 answer

Python encoding/decoding error for 'cp866'

6.5 and I am trying to extract some information from a CSV file, but the file is written in Russian, so I need to use 'cp866' to decode that. However, I can't get the correct output. This is the code that I use: def printcsv(): with…
0
votes
1 answer

How convert QChar to char code in cp866 table?

How get int code of qchar in this table http://www.ascii-codes.com/cp866.html ? Here is my code: int getCp866Code(QChar c) { if (!c.isSurrogate()) { QString temp = c; QTextCodec* cp866 = QTextCodec::codecForName("IBM 866"); …
lukaville
  • 182
  • 3
  • 12