Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for UTF-16 #5

Closed
atauenis opened this issue Apr 14, 2020 · 2 comments
Closed

Support for UTF-16 #5

atauenis opened this issue Apr 14, 2020 · 2 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers

Comments

@atauenis
Copy link
Owner

Report from fotios on Vogons.
https://www.vogons.org/viewtopic.php?p=841833#p841833

Hi, many thanks for this project!

I'm testing version 0.10.0.0 0.10.0a1
When I set the output encoding to 1200

;OutputEncoding=AsIs
OutputEncoding=1200

The following error is reported:

Using configuration file webone.conf.
Warning: Unknown codepage 1200, using AsIs. See MSDN 'Encoding.GetEncodings Me
thod' article for list of valid encodings.
webone.conf load complete.
Starting server...
Listening for HTTP 1.x on port 80.

@atauenis atauenis added bug Something isn't working enhancement New feature or request labels Apr 14, 2020
@atauenis
Copy link
Owner Author

WebOne 0.9.3 is working correctly with OutputEncoding=utf-16 (not 1200). At least on pages that initially was in 1251 encoding (I don't know real UTF-16 pages). It's possible to return this support in 0.10.0a2.

@atauenis atauenis self-assigned this Apr 14, 2020
@atauenis atauenis added the good first issue Good for newcomers label Apr 14, 2020
@atauenis
Copy link
Owner Author

Now OutputEncoding can be either a number, a name (understandable by CodePagesEncodingProvider.Instance.GetEncoding) or Unicodeish utf-7...utf-32le.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant