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

Build fails on Linux with: "error: unmappable character for encoding ASCII" #513

Closed
cbvms123 opened this issue Jun 1, 2017 · 3 comments
Closed

Comments

@cbvms123
Copy link

cbvms123 commented Jun 1, 2017

Compiling and building on Linux fails because of an UTF-8 encoded source file:
richtextfx/src/main/java/org/fxmisc/richtext/model/TextEditingArea.java

Adding the encoding options
build.gradle: compileJava.options.encoding = 'UTF-8'

richtextfx/build.gradle(javadoc section): options.addStringOption('encoding', 'UTF-8')

Resolved the issue in my environment.

@JordanMartinez
Copy link
Contributor

I use Linux and it builds fine on mine. Why does it fail on yours but not mine? Do our locations have anything to do with it?

@cbvms123
Copy link
Author

cbvms123 commented Jun 2, 2017

Indeed, I checked my locale related settings and found when unsetting LC_CTYPE the build works also on my box. Maybe with LC_CTYPE=C you may be able to reproduce the error on your side as well.

@JordanMartinez
Copy link
Contributor

I'd guess that's the issue. I've contributed to this project for a while and never had that arise.

Via the command env, I don't have an environment variable for LC_CTYPE, but I do for LANG: LANG=en_US.UTF-8

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