8000 binding-functions encoded in ASCII on Windows by isaacbrodsky · Pull Request #193 · uber/h3 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

binding-functions encoded in ASCII on Windows #193

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

Merged
merged 1 commit into from
Feb 21, 2019

Conversation

isaacbrodsky
Copy link
Collaborator

The default is for Powershell to generate UTF-16 with BOM, and setting to UTF-8
also generates a BOM. (I understand newer versions of Powershell have a UTF8
with no BOM option, but that wasn't available for me.) The BOM is a problem
because Java for example does not discard the BOM, requiring workarounds like
Commons IO.

This limits function names in the C API to the ASCII character set, which
currently appears to be a reasonable limitation.

The default is for Powershell to generate UTF-16 with BOM, and setting to UTF-8
also generates a BOM. (I understand newer versions of Powershell have a UTF8
with no BOM option, but that wasn't available for me.) The BOM is a problem
because Java for example does not discard the BOM, requiring workarounds like
Commons IO.

This limits function names in the C API to the ASCII character set, which
currently appears to be a reasonable limitation.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling e6ff289 on isaacbrodsky:binding-functions-ascii into 9c4cdac on uber:master.

@isaacbrodsky
Copy link
Collaborator Author

I confirmed in H3-Java / Appveyor that this does work: https://github.com/isaacbrodsky/h3-java/tree/bump-3.4.0-test-with-newer-h3

@isaacbrodsky isaacbrodsky merged commit 8fb7327 into uber:master Feb 21, 2019
@isaacbrodsky isaacbrodsky deleted the binding-functions-ascii branch February 21, 2019 20:26
mrdvt92 pushed a commit to mrdvt92/h3 that referenced this pull request Jun 19, 2022
binding-functions encoded in ASCII on Windows
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.

4 participants
0