-
Notifications
You must be signed in to change notification settings - Fork 9
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
Custom Encoding #27
Comments
After a brief look setting If you feel this is a suitable work around please close the issue :D Personally I think it would be nice if this could be configured. |
Hey @olib963, thanks for looking into this! I think having this be configurable is a good idea. A simple |
Thanks for the quick response :D I would be happy to look into a PR sometime next week. I am a little new to bazel so will try my best to get something up and running. Would you prefer the approach that we
|
Using |
Thanks for the work on creating a bazel wrapper for twirl!
It seems the default encoding used by bazel is US-ASCII, we are moving from SBT to bazel and the sbt plugin uses a default of UTF-8. This change is causing any UTF-8 special characters to be written as "??" in our compiled templates.
I have managed to get the default character set in the JVM to be UTF-8 by setting:
in
.bazelrc
but this does not seem to be passed on to the twirl compiler.I was wondering if you had a suggested approach to solving this. I can do a little dive into the code and try to get it running locally but I thought I would check if you already had something in mind for this.
The text was updated successfully, but these errors were encountered: