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

error: unmappable character for encoding UTF8 [javac] Copyright � 1999 CERN - European Organization for Nuclear Research. #8

Open
jordanperr opened this issue Apr 10, 2016 · 2 comments · May be fixed by #11

Comments

@jordanperr
Copy link

Running ant jar on vanilla git repository fails to build. Yields several instances of:

error: unmappable character for encoding UTF8
[javac] Copyright � 1999 CERN - European Organization for Nuclear Research.

My system:

Apache Ant(TM) version 1.9.6 compiled on June 29 2015
javac 1.8.0_77
OSX El Capitan

Successful Patch:

diff --git a/build.xml b/build.xml
index f022a46..cf71924 100644
--- a/build.xml
+++ b/build.xml
@@ -32,7 +32,7 @@
     <target name="compile" description="Compile code">
         <mkdir dir="${bin}"/>
         <mkdir dir="${lib}"/>
-        <javac srcdir="${src}" destdir="${bin}" includeAntRuntime="no"
+        <javac encoding="iso-8859-1" srcdir="${src}" destdir="${bin}" includeAntRuntime="no"
                classpathref="lib.path" debug="${compile.debug}">
         </javac>
     </target>
@dmcennis
Copy link
Owner

Can you tell me which file? There were problems at one point with character set corruption on the copyright symbol attacking the colt library at one point. The hot fix is to delete the copyright symbol from the selected file - the copyright statement must be left intact. Please provide me the name of the affected file so I can patch with an updated corrected copyright symbol in UTF-8.

@yrjyrj123
Copy link

I find the same problem on macOS Sierra.
There are a lot of files in /src use "windows-125" encoding.
I think UTF-8 is better, almost all OS such as windows, linux, macOS support this encoding.
I forked your project, and converted all java files into UTF-8. If you think is useful, please merge into your code.

@yrjyrj123 yrjyrj123 linked a pull request Oct 13, 2016 that will close this issue
jjcosare added a commit to jjcosare/jAudioGIT that referenced this issue Mar 13, 2019
- removed ds store files
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 a pull request may close this issue.

3 participants