-
Notifications
You must be signed in to change notification settings - Fork 6
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
Option to define String codepage #17
Comments
The code page of Strings in Java is always UTF-16. Anything else is only relevant if we read or write files or streams. I do not think so, we have to declare the code page of Strings. |
The current implementation converts the string which will be used to calulate the hash to UTF-8 by default. |
I have just enabled to configure this decoding. |
Havent checked it yet, but already thank you. Thats great. |
Sorry, I have started make it configurable but after thinking about I have doubt this would make sense. |
When hashing a string, the correct codepage of the string representation is essential. This should default to UTF-8 and more advanced shoud be changeable. If strings in Java are always a UTF-8, this behaviuor must be added to the documentation for clarity.
The text was updated successfully, but these errors were encountered: