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

utf-8 encoding includes BOM to responses #11

Open
Weste76 opened this issue May 24, 2023 · 0 comments
Open

utf-8 encoding includes BOM to responses #11

Weste76 opened this issue May 24, 2023 · 0 comments

Comments

@Weste76
Copy link

Weste76 commented May 24, 2023

When for example executing the NLIST command the client receives BOM (0xef 0xbb 0xbf) in front of the received file list
This is in my case interpreted as unicode 0xfeff ('ZERO WIDTH NO-BREAK SPACE').
Resolution would be to use new UTF8Encoding(encoderShouldEmitUTF8Identifier: false) on server side
instead of Encoding.UTF8.

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

No branches or pull requests

1 participant