pravinkosurkar / metadata-extractor

Automatically exported from code.google.com/p/metadata-extractor
Apache License 2.0
0 stars 0 forks source link

metadata-extractor-2.6.4/Source/com/drew/lang/GeoLocation.java:75: error: unmappable character for encoding ASCII #90

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Environment:
[filiperosset@localhost metadata-extractor]$ java -version
java version "1.7.0_51"
OpenJDK Runtime Environment (fedora-2.4.5.1.fc21-x86_64 u51-b31)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
[filiperosset@localhost metadata-extractor]$ javac -version
javac 1.7.0_51
[filiperosset@localhost metadata-extractor]$ cat /etc/issue
Fedora release 21 (Rawhide)
Kernel \r on an \m (\l)

Hi, can you please add this line in each javac command at build.xml?

               encoding="UTF-8"

I was compiling metadata-extractor 2.6.4 and found these kind of issues, fixed 
by the line above.

build errors:
    [javac] /home/filiperosset/rpmbuild/BUILD/metadata-extractor-2.6.4/Source/com/drew/lang/GeoLocation.java:75: error: unmappable character for encoding ASCII
    [javac]      * of format: {@code -1?? 23' 4.56"}
    [javac]                            ^
    [javac] /home/filiperosset/rpmbuild/BUILD/metadata-extractor-2.6.4/Source/com/drew/lang/GeoLocation.java:75: error: unmappable character for encoding ASCII
    [javac]      * of format: {@code -1?? 23' 4.56"}
    [javac]                             ^
    [javac] /home/filiperosset/rpmbuild/BUILD/metadata-extractor-2.6.4/Source/com/drew/lang/GeoLocation.java:81: error: unmappable character for encoding ASCII
    [javac]         return dms[0] + "?? " + dms[1] + "' " + dms[2] + '"';
    [javac]                          ^
    [javac] /home/filiperosset/rpmbuild/BUILD/metadata-extractor-2.6.4/Source/com/drew/lang/GeoLocation.java:81: error: unmappable character for encoding ASCII
    [javac]         return dms[0] + "?? " + dms[1] + "' " + dms[2] + '"';
    [javac]                           ^
    [javac] /home/filiperosset/rpmbuild/BUILD/metadata-extractor-2.6.4/Source/com/drew/lang/GeoLocation.java:151: error: unmappable character for encoding ASCII
    [javac]      * @return a string representation of this location, of format: {@code -1?? 23' 4.56", 54?? 32' 1.92"}
    [javac]                                                                              ^
    [javac] /home/filiperosset/rpmbuild/BUILD/metadata-extractor-2.6.4/Source/com/drew/lang/GeoLocation.java:151: error: unmappable character for encoding ASCII
    [javac]      * @return a string representation of this location, of format: {@code -1?? 23' 4.56", 54?? 32' 1.92"}
    [javac]                                                                               ^
    [javac] /home/filiperosset/rpmbuild/BUILD/metadata-extractor-2.6.4/Source/com/drew/lang/GeoLocation.java:151: error: unmappable character for encoding ASCII
    [javac]      * @return a string representation of this location, of format: {@code -1?? 23' 4.56", 54?? 32' 1.92"}
    [javac]                                                                                              ^
    [javac] /home/filiperosset/rpmbuild/BUILD/metadata-extractor-2.6.4/Source/com/drew/lang/GeoLocation.java:151: error: unmappable character for encoding ASCII

    [javac] /home/filiperosset/rpmbuild/BUILD/metadata-extractor-2.6.4/Source/com/drew/metadata/icc/IccDescriptor.java:101: error: unmappable character for encoding ASCII
    [javac]                             observerString = "1931 2??";
    [javac]                                                     ^
    [javac] /home/filiperosset/rpmbuild/BUILD/metadata-extractor-2.6.4/Source/com/drew/metadata/icc/IccDescriptor.java:101: error: unmappable character for encoding ASCII
    [javac]                             observerString = "1931 2??";
    [javac]                                                      ^
    [javac] /home/filiperosset/rpmbuild/BUILD/metadata-extractor-2.6.4/Source/com/drew/metadata/icc/IccDescriptor.java:104: error: unmappable character for encoding ASCII
    [javac]                             observerString = "1964 10??";
    [javac]                                                      ^
    [javac] /home/filiperosset/rpmbuild/BUILD/metadata-extractor-2.6.4/Source/com/drew/metadata/icc/IccDescriptor.java:104: error: unmappable character for encoding ASCII
    [javac]                             observerString = "1964 10??";
    [javac]

Regards,

Filipe R.

Original issue reported on code.google.com by rosset.filipe on 21 Feb 2014 at 11:27

Attachments:

GoogleCodeExporter commented 9 years ago
This issue has been migrated along with the project to GitHub:

https://github.com/drewnoakes/metadata-extractor/issues/20

I will include a fix for this in version 2.7 which will be released in the 
first week of December.

Original comment by drewnoakes on 19 Nov 2014 at 6:49

GoogleCodeExporter commented 9 years ago
Fixed in 
https://github.com/drewnoakes/metadata-extractor/commit/15efa78c675fd43b0efd4264
cb2e74958a3a11ad

Thanks for the issue report.

Original comment by drewnoakes on 19 Nov 2014 at 9:45