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

Ant fails to compile on Windows due to encoding issue #137

Merged
merged 1 commit into from
Sep 21, 2020

Conversation

sigma67
Copy link
Contributor

@sigma67 sigma67 commented Sep 2, 2020

Trying to compile the latest Textidote myself on Windows (due to lack of a release including recent bugfixes), I ran into an encoding issue (error message below). This PR fixes it.

compile:
    [javac] Compiling 37 source files to C:\Users\LocalAdmin\IdeaProjects\textidote\Source\Core\bin
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] C:\Users\LocalAdmin\IdeaProjects\textidote\Source\Core\src\ca\uqac\lif\textidote\cleaning\latex\LatexCleaner.java:440: error: unmappable character for encoding Cp1252
    [javac]             as_out = as_out.replaceAll("\\\\'\\{A\\}", "├?");
    [javac]                                                          ^
    [javac] C:\Users\LocalAdmin\IdeaProjects\textidote\Source\Core\src\ca\uqac\lif\textidote\cleaning\latex\LatexCleaner.java:456: error: unmappable character for encoding Cp1252
    [javac]             as_out = as_out.replaceAll("\\\\'\\{I\\}", "├?");
    [javac]                                                          ^
    [javac] C:\Users\LocalAdmin\IdeaProjects\textidote\Source\Core\src\ca\uqac\lif\textidote\cleaning\latex\LatexCleaner.java:482: error: unmappable character for encoding Cp1252
    [javac]             as_out = as_out.replaceAll("\\\\'A", "├?");
    [javac]                                                    ^
    [javac] C:\Users\LocalAdmin\IdeaProjects\textidote\Source\Core\src\ca\uqac\lif\textidote\cleaning\latex\LatexCleaner.java:498: error: unmappable character for encoding Cp1252
    [javac]             as_out = as_out.replaceAll("\\\\'I", "├?");
    [javac]                                                    ^
    [javac] 4 errors
    [javac] 1 warning

BUILD FAILED

@sylvainhalle sylvainhalle merged commit c875a44 into sylvainhalle:master Sep 21, 2020
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.

2 participants