Skip to content

Character encoding #8

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

Open
donmendelson opened this issue Dec 7, 2016 · 2 comments
Open

Character encoding #8

donmendelson opened this issue Dec 7, 2016 · 2 comments

Comments

@donmendelson
Copy link
Member

The spec should say something about character encoding. The default encoding in FIX tag=value is US-ASCII, so converting it to JSON will implicitly be in that encoding. However, for web APIs, the expectation would be to use UTF-8 by default.

@gelupa
Copy link

gelupa commented Aug 2, 2019

unicode has several variants. It is recommended that the encoding be fixed to UTF-8 only.

@donmendelson
Copy link
Member Author

Unfortunately, the JSON standards simply say "A JSON text is a sequence of tokens formed from Unicode code points" and do not peg to a specific version of Unicode.

BTW we changed the SBE standard to allow 8-bit character encodings since FIX engines no longer constrain tagvalue encoding to ASCII.

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

2 participants