#255 Unmappable characters in the documentation

SVN_Head
closed
5
2012-10-10
2004-10-13
Jon Schewe
No

compile.checkstyle:
[mkdir] Created
dir: /net/users/jschewe/src/java/checkstyle/working-dir/target/checkstyle
[depend] Deleted 0 out of date files in 0 seconds
[javac] Compiling 319 source files
to /net/users/jschewe/src/java/checkstyle/working-dir/target/checkstyle
[javac] /net/users/jschewe/src/java/checkstyle/working-dir/src/checkstyle/com/puppycrawl/tools/checkstyle/StringArrayReader.java:32:
warning: unmappable character for encoding UTF8
[javac] * @author Lars K
$(0!; (Bhne

[javac]
^
[javac] /net/users/jschewe/src/java/checkstyle/working-dir/src/checkstyle/com/puppycrawl/tools/checkstyle/api/Scope.java:28:
warning: unmappable character for encoding UTF8
[javac] * @author Lars K
$(0!; (Bhne

[javac]
^
[javac] /net/users/jschewe/src/java/checkstyle/working-dir/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/HeaderCheck.java:67:
warning: unmappable character for encoding UTF8
[javac] * @author Lars K $(0!; (B
[javac] ^
[javac] /net/users/jschewe/src/java/checkstyle/working-dir/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/ModifierOrderCheck.java:67:
warning: unmappable character for encoding UTF8
[javac] * @author Lars K $(0!; (B
[javac] ^
[javac] /net/users/jschewe/src/java/checkstyle/working-dir/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/RegexpHeaderCheck.java:83:
warning: unmappable character for encoding UTF8
[javac] * @author Lars K $(0!; (B
[javac] ^
[javac] /net/users/jschewe/src/java/checkstyle/working-dir/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/blocks/EmptyBlockCheck.java:58:
warning: unmappable character for encoding UTF8
[javac] * @author Lars K $(0!; (B
[javac] ^
[javac] /net/users/jschewe/src/java/checkstyle/working-dir/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/coding/MagicNumberCheck.java:44:
warning: unmappable character for encoding UTF8
[javac] * @author Lars K $(0!; (B
[javac] ^
[javac] /net/users/jschewe/src/java/checkstyle/working-dir/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/coding/SimplifyBooleanReturnCheck.java:39:
warning: unmappable character for encoding UTF8
[javac] * @author Lars K $(0!; (B
[javac] ^
[javac] /net/users/jschewe/src/java/checkstyle/working-dir/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/imports/IllegalImportCheck.java:58:
warning: unmappable character for encoding UTF8
[javac] * @author Lars K $(0!; (B
[javac] ^
[javac] /net/users/jschewe/src/java/checkstyle/working-dir/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/j2ee/EntityBeanMethodChecker.java:130:
warning: unmappable character for encoding UTF8
[javac] // The return type must be the entity
bean $(0!; (Bs primary key type
[javac] ^
[javac] /net/users/jschewe/src/java/checkstyle/working-dir/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/j2ee/HomeInterfaceMethodChecker.java:61:
warning: unmappable character for encoding UTF8
[javac] // return type is the entity bean $(0!;
(Bs remote or local interface
[javac] ^
[javac] /net/users/jschewe/src/java/checkstyle/working-dir/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/metrics/JavaNCSSCheck.java:37:
warning: unmappable character for encoding UTF8
[javac] * @author Lars K $(0!; (Bdderitzsch
[javac] ^
[javac] /net/users/jschewe/src/java/checkstyle/working-dir/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/metrics/JavaNCSSCheck.java:343:
warning: unmappable character for encoding UTF8
[javac] * @author Lars K $(0!; (Bdderitzsch
[javac] ^
[javac] /net/users/jschewe/src/java/checkstyle/working-dir/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/sizes/FileLengthCheck.java:53:
warning: unmappable character for encoding UTF8
[javac] * @author Lars K $(0!; (B
[javac] ^
[javac] /net/users/jschewe/src/java/checkstyle/working-dir/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/sizes/LineLengthCheck.java:75:
warning: unmappable character for encoding UTF8
[javac] * @author Lars K $(0!; (B
[javac] ^
[javac] /net/users/jschewe/src/java/checkstyle/working-dir/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/sizes/MethodLengthCheck.java:54:
warning: unmappable character for encoding UTF8
[javac] * @author Lars K $(0!; (B
[javac] ^
[javac] /net/users/jschewe/src/java/checkstyle/working-dir/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/whitespace/TabCharacterCheck.java:47:
warning: unmappable character for encoding UTF8
[javac] * @author Lars K $(0!; (B
[javac] ^
[javac] /net/users/jschewe/src/java/checkstyle/working-dir/src/checkstyle/com/puppycrawl/tools/checkstyle/gui/JTreeTable.java:69:
warning: unmappable character for encoding UTF8
[javac] * @author Lars K $(0!; (B
[javac] ^
[javac] /net/users/jschewe/src/java/checkstyle/working-dir/src/checkstyle/com/puppycrawl/tools/checkstyle/gui/ParseTreeInfoPanel.java:53:
warning: unmappable character for encoding UTF8
[javac] * @author Lars K $(0!; (B
[javac] ^
[javac] /net/users/jschewe/src/java/checkstyle/working-dir/src/checkstyle/com/puppycrawl/tools/checkstyle/gui/ParseTreeModel.java:30:
warning: unmappable character for encoding UTF8
[javac] * @author Lars K $(0!; (B
[javac] ^
[javac] Note: Some input files use unchecked or
unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for
details.
[javac] 20 warnings
[propertyfile] Creating new property
file: /net/users/jschewe/src/java/checkstyle/working-dir/target/checkstyle/checkstylecompilation.properties
[native2ascii] Converting 10 files
from /net/users/jschewe/src/java/checkstyle/working-dir/src/checkstyle
to /net/users/jschewe/src/java/checkstyle/working-dir/target/checkstyle
[copy] Copying 71 files
to /net/users/jschewe/src/java/checkstyle/working-dir/target/checkstyle
[copy] Copying 15 files
to /net/users/jschewe/src/java/checkstyle/working-dir/target/checkstyle
[javadoc] Generating Javadoc
[javadoc] Javadoc execution
[javadoc] Loading source
file /net/users/jschewe/src/java/checkstyle/working-dir/src/checkstyle/com/puppycrawl/tools/checkstyle/api/TokenTypes.java...
[javadoc] Constructing Javadoc information...

Discussion

  • Logged In: YES
    user_id=746148

    What version of jdk, platfor, locale do you use?

     
  • Jon Schewe
    Jon Schewe
    2004-10-13

    Logged In: YES
    user_id=209980

    JDK 1.5.0 on Linux.

     
  • Logged In: YES
    user_id=746148

    locale?

     
  • Jon Schewe
    Jon Schewe
    2004-10-13

    Logged In: YES
    user_id=209980

    en_US

     
  • Logged In: YES
    user_id=746148

    Was able to reproduce the problem. It looks like something
    changed in jdk,
    because I can build fine using 1.4.2.
    You may use de_DE locale as a workaround, for now.
    Lars, do you know how to spell you name without special
    signs :)

     
  • Lars Kühne
    Lars Kühne
    2004-10-13

    Logged In: YES
    user_id=401384

    It's "Kuehne" in 7-Bit ASCII or "Kühne" in HTML, but
    for author tags you can simply write "@author lkuehne".

    I have to admit I'm a bit confused, though: I have the same
    setup (SuSE 9.0, JDK 1.5.0, $LANG=en_US), and it compiles
    without any problem. Which $LANG setting do you have? I
    think I changed mine from en_US.UTF8 to plain en_US because
    some java applications were causing problems.

    Maybe it's easier to simply call <javac encoding="iso-8859-1" ...=""> in build.xml?

     
  • Jon Schewe
    Jon Schewe
    2004-10-13

    Logged In: YES
    user_id=209980

    I'm using SuSE 9.1. LANG is set to en_US.UTF-8 by default
    there.

     
  • Logged In: YES
    user_id=746148

    Fixed in CVS for 3.5 and 4.0.
    Now javac will be called with iso-8859-1 encoding