NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 941 - Declare java source codes are UTF-8
Declare java source codes are UTF-8
Status: RESOLVED FIXED
Product: Validator.nu
Classification: Unclassified
Component: General
HEAD
All All
: P2 normal
Assigned To: Nobody
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-10 11:41 CEST by Takeshi Kurosawa
Modified: 2013-07-12 04:23 CEST (History)
1 user (show)

See Also:


Attachments
Patch for validator/build (850 bytes, patch)
2012-09-10 11:41 CEST, Takeshi Kurosawa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Takeshi Kurosawa 2012-09-10 11:41:41 CEST
Created attachment 224 [details]
Patch for validator/build

Validator.nu is written in utf-8.
On the other hand, javac assumes that source codes use the platform encoding by default.
http://docs.oracle.com/javase/6/docs/technotes/tools/windows/javac.html

This causes build failure on Windows.

Let declare source codes' encoding.
Comment 1 Michael[tm] Smith 2013-07-12 04:23:22 CEST
Thanks for catching this. I've applied the patch and pushed it to the validator sources.

https://bitbucket.org/validator/build/commits/a30ecb188353911ec1ae75a02ccdb65379c66d34