Skip to content

File Encoding Errors #3731

Answered by rdipardo
Syntonica asked this question in Q&A
Dec 29, 2023 · 3 comments · 6 replies
Discussion options

You must be logged in to vote

There is no other way of passing the information of what the file encoding is to Java AFAIK (unless there is a command line option you can add)

export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8

This resolved a similar issue for a Windows user, mutatis mutandis.

JDK toolchain binaries also accept -Dfile.encoding as a command line switch.

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
3 replies
@Syntonica
Comment options

@elextr
Comment options

@elextr
Comment options

Comment options

You must be logged in to vote
2 replies
@Syntonica
Comment options

@elextr
Comment options

Comment options

You must be logged in to vote
1 reply
@elextr
Comment options

Answer selected by eht16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants