Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

[#95] JavaDoc should generate HTML files with UTF-8 charset #655

Closed
wants to merge 1 commit into from

3 participants

@xael-fry
Collaborator
@cloudbees-pull-request-builder

play-1-3-x-pull-requests #38 SUCCESS
This pull request looks good

@Notalifeform
Collaborator

merged. thanks.

@xael-fry xael-fry deleted the xael-fry:lighthouse-95-patch branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  framework/pym/play/commands/javadoc.py
View
2  framework/pym/play/commands/javadoc.py
@@ -38,7 +38,7 @@ def add_java_files(path):
serr = open(os.path.join(app.log_path(), 'javadoc.err'), 'w')
if (os.path.isdir(outdir)):
shutil.rmtree(outdir)
- javadoc_cmd = [javadoc_path, '-classpath', app.cp_args(), '-d', outdir] + args + fileList
+ javadoc_cmd = [javadoc_path, '-classpath', app.cp_args(), '-d', outdir, '-encoding', 'UTF-8', '-charset', 'UTF-8'] + args + fileList
print "Generating Javadoc in " + outdir + "..."
subprocess.call(javadoc_cmd, env=os.environ, stdout=sout, stderr=serr)
print "Done! You can open " + os.path.join(outdir, 'overview-tree.html') + " in your browser."
Something went wrong with that request. Please try again.