On Wed, 1 Dec 2021 08:49:09 GMT, Ichiroh Takiguchi
wrote:
> But it's not easy to pick up right locale/platform encoding name except for
> well known users.
JEP 400 has the example to get the encoding name as a one liner:
java -XshowSettings:properties -version 2>&1 | grep file.encoding
(rep
On Mon, 29 Nov 2021 17:29:03 GMT, Naoto Sato wrote:
>> As I explained before, output file encoding which is created by `-Xstdout`
>> option is changed to native encoding instead of UTF-8 by
>> `-J-Dfile.encoding=COMPAT`.
>> In case of Linux ja_JP.eucjp locale, your explanation may be acceptable
On Thu, 25 Nov 2021 00:58:47 GMT, Ichiroh Takiguchi
wrote:
> But how about Windows platform ?
If the user specifies `-J-Dfile.encoding=COMPAT`, all operations are done in
`MS932` on Japanese Windows.
> How can user find encoding name without running java ?
I still don't get why the user need
On Wed, 24 Nov 2021 04:08:43 GMT, Ichiroh Takiguchi
wrote:
>> ncoding name COMPAT was defined for operating system encoding by JEP-400.
>> https://openjdk.java.net/jeps/400
>> But java does not accept "-encoding COMPAT".
>
> Ichiroh Takiguchi has updated the pull request incrementally with one
On Wed, 24 Nov 2021 04:08:43 GMT, Ichiroh Takiguchi
wrote:
>> ncoding name COMPAT was defined for operating system encoding by JEP-400.
>> https://openjdk.java.net/jeps/400
>> But java does not accept "-encoding COMPAT".
>
> Ichiroh Takiguchi has updated the pull request incrementally with one
On Wed, 24 Nov 2021 18:35:45 GMT, Naoto Sato wrote:
>> Ichiroh Takiguchi has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> 8277398: javac does not accept encoding name COMPAT
>
> Sorry, but I am kind of lost what you are expecting here. Al
On Wed, 24 Nov 2021 08:47:54 GMT, Alan Bateman wrote:
>> Ichiroh Takiguchi has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> 8277398: javac does not accept encoding name COMPAT
>
> I see this PR has been re-purposed to add "COMPAT" as a ch
On Wed, 24 Nov 2021 04:08:43 GMT, Ichiroh Takiguchi
wrote:
>> ncoding name COMPAT was defined for operating system encoding by JEP-400.
>> https://openjdk.java.net/jeps/400
>> But java does not accept "-encoding COMPAT".
>
> Ichiroh Takiguchi has updated the pull request incrementally with one
On Wed, 24 Nov 2021 04:08:43 GMT, Ichiroh Takiguchi
wrote:
>> ncoding name COMPAT was defined for operating system encoding by JEP-400.
>> https://openjdk.java.net/jeps/400
>> But java does not accept "-encoding COMPAT".
>
> Ichiroh Takiguchi has updated the pull request incrementally with one
> ncoding name COMPAT was defined for operating system encoding by JEP-400.
> https://openjdk.java.net/jeps/400
> But java does not accept "-encoding COMPAT".
Ichiroh Takiguchi has updated the pull request incrementally with one
additional commit since the last revision:
8277398: javac does no
On Fri, 19 Nov 2021 12:11:51 GMT, Alan Bateman wrote:
>> ncoding name COMPAT was defined for operating system encoding by JEP-400.
>> https://openjdk.java.net/jeps/400
>> But java does not accept "-encoding COMPAT".
>
> src/jdk.compiler/share/classes/com/sun/tools/javac/file/BaseFileManager.java
On Fri, 19 Nov 2021 07:00:44 GMT, Ichiroh Takiguchi
wrote:
> ncoding name COMPAT was defined for operating system encoding by JEP-400.
> https://openjdk.java.net/jeps/400
> But java does not accept "-encoding COMPAT".
Thanks @AlanBateman and @naotoj .
I appreciate your good suggestions.
My cons
On Fri, 19 Nov 2021 07:00:44 GMT, Ichiroh Takiguchi
wrote:
> ncoding name COMPAT was defined for operating system encoding by JEP-400.
> https://openjdk.java.net/jeps/400
> But java does not accept "-encoding COMPAT".
Do we want this option in `javac`/`javadoc`? Should `-J-Dfile.encoding=COMPAT
On Fri, 19 Nov 2021 07:00:44 GMT, Ichiroh Takiguchi
wrote:
> ncoding name COMPAT was defined for operating system encoding by JEP-400.
> https://openjdk.java.net/jeps/400
> But java does not accept "-encoding COMPAT".
src/jdk.compiler/share/classes/com/sun/tools/javac/file/BaseFileManager.java
ncoding name COMPAT was defined for operating system encoding by JEP-400.
https://openjdk.java.net/jeps/400
But java does not accept "-encoding COMPAT".
-
Commit messages:
- 8277398: javac does not accept encoding name COMPAT
Changes: https://git.openjdk.java.net/jdk/pull/6475/files
15 matches
Mail list logo