Home Download Buy Blog Forum Support

javac should add -J-Dfile.encoding=utf8 option

javac should add -J-Dfile.encoding=utf8 option

Postby xpol on Tue Oct 08, 2013 4:03 am

javac should add -J-Dfile.encoding=utf8 option so that the javac error message are printed in UTF-8.

The Packages\Java.sublime-package\JavaC.sublime-build:
Code: Select all
   "shell_cmd": "javac -J-Dfile.encoding=utf8 \"$file\"",
   "file_regex": "^(...*?):([0-9]*):?([0-9]*)",
   "selector": "source.java"

Unless we planned to support parse native encoding for build outputs.

Userecho: http://sublimetext.userecho.com/topic/277582-/
Posts: 5
Joined: Thu Oct 25, 2012 2:51 am

Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 6 guests