Skip to content

Unmappable CP 1252 characters in java docs #90

@dfuglsang

Description

@dfuglsang

There are some characters in the java docs of TalonSRX and TalonController that are unmappable for the default Windows cp1252 encoding (see build errors below)

compile:
     [echo] Compiling against WPILib 0.1.0.201601151923 installed at C:\Users\dfuglsan.ORADEV\Documents\GitHub\strongback-java/libs/wpilib
    [javac] Compiling 18 source files to C:\Users\dfuglsan.ORADEV\Documents\GitHub\strongback-java\strongback\build\classes
    [javac] C:\Users\dfuglsan.ORADEV\Documents\GitHub\strongback-java\strongback\src\org\strongback\components\TalonSRX.java:148: error: unmappable character for encoding Cp1252
    [javac]      * Soft limits can be used to disable motor drive when the “Sensor Position▒? is outside of a specified range. Forward
    [javac]                                                                                    ^
    [javac] C:\Users\dfuglsan.ORADEV\Documents\GitHub\strongback-java\strongback\src\org\strongback\components\TalonSRX.java:149: error: unmappable character for encoding Cp1252
    [javac]      * throttle will be disabled if the “Sensor Position▒? is greater than the Forward Soft Limit. Reverse throttle will be
    [javac]                                                             ^
    [javac] C:\Users\dfuglsan.ORADEV\Documents\GitHub\strongback-java\strongback\src\org\strongback\components\TalonSRX.java:150: error: unmappable character for encoding Cp1252
    [javac]      * disabled if the “Sensor Position▒? is less than the Reverse Soft Limit. The respective Soft Limit Enable must be enabled
    [javac]                                            ^
    [javac] C:\Users\dfuglsan.ORADEV\Documents\GitHub\strongback-java\strongback\src\org\strongback\components\TalonSRX.java:166: error: unmappable character for encoding Cp1252
    [javac]      * Soft limits can be used to disable motor drive when the “Sensor Position▒? is outside of a specified range. Forward
    [javac]                                                                                    ^
    [javac] C:\Users\dfuglsan.ORADEV\Documents\GitHub\strongback-java\strongback\src\org\strongback\components\TalonSRX.java:167: error: unmappable character for encoding Cp1252
    [javac]      * throttle will be disabled if the “Sensor Position▒? is greater than the Forward Soft Limit. Reverse throttle will be
    [javac]                                                             ^
    [javac] C:\Users\dfuglsan.ORADEV\Documents\GitHub\strongback-java\strongback\src\org\strongback\components\TalonSRX.java:168: error: unmappable character for encoding Cp1252
    [javac]      * disabled if the “Sensor Position▒? is less than the Reverse Soft Limit. The respective Soft Limit Enable must be enabled
    [javac]                                            ^
    [javac] C:\Users\dfuglsan.ORADEV\Documents\GitHub\strongback-java\strongback\src\org\strongback\control\TalonController.java:50: error: unmappable character for encoding Cp1252
    [javac]  * In order for limit switches and closed-loop features to function correctly, the sensor and motor have to be “in-phase▒?. This
    [javac]                                                                                                                             ^
    [javac] 7 errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions