Skip to content

Conversation

palacex
Copy link
Contributor

@palacex palacex commented Jan 29, 2024

Console application raise System.Xml.XmlExceptiong when book has codepage like windows-1251.

The .NET Framework for the Windows desktop supports a large set of Unicode and code page encodings. .NET Core, on the other hand, supports only the following encodings:

    ASCII (code page 20127), which is returned by the Encoding.ASCII property.
    ISO-8859-1 (code page 28591).
    UTF-7 (code page 65000), which is returned by the Encoding.UTF7 property.
    UTF-8 (code page 65001), which is returned by the Encoding.UTF8 property.
    UTF-16 and UTF-16LE (code page 1200), which is returned by the Encoding.Unicode property.
    UTF-16BE (code page 1201), which is instantiated by calling the UnicodeEncoding.UnicodeEncoding or UnicodeEncoding.UnicodeEncoding constructor with a bigEndian value of true.
    UTF-32 and UTF-32LE (code page 12000), which is returned by the Encoding.UTF32 property.
    UTF-32BE (code page 12001), which is instantiated by calling an UTF32Encoding constructor that has a bigEndian parameter and providing a value of true in the method call.

@wcoder wcoder merged commit 776fd30 into wcoder:master Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants