|
From: neil h. <ne...@gm...> - 2010-01-16 14:45:04
|
You are right, I put it into the properties folder and it works ! And I also hack the source code . If I wanna to submit it , Mind telling me how! 2010/1/16 Shlomy Reinstein <sre...@gm...>: > On startup, jEdit loads several properties files. It begins by loading > those property files included with the jEdit distribution, and then > looks for user-overrides in the 'properties' directory. Any file with > the suffix '.props' is considered a user's property file and is loaded > automatically by jEdit, and it can override the built-in properties. > > Shlomy > > > On Sat, Jan 16, 2010 at 10:20 AM, neil hhw <ne...@gm...> wrote: >> Yeah, I finally solve the encoding problems with replacing class >> Reader instead of Inputstream and Writer instead of OutputStream in >> org.gjt.sp.jedit.PropertyManager.java .Actually I overload the methods >> in class PropertyManager. And I use InputStreamReader to fit with my >> method in jEdit.java; So I don't know whether it will attribute any >> problems or not ? But it works fine and the Chinese characters display >> fine! But Shlomy I don't quite understand that simply put it in the >> 'properties' directory of the installation . Would you mind telling me >> details? >> >> 2010/1/14 Shlomy Reinstein <sre...@gm...>: >>> I don't know, but why do you pack it to jar files? You can simply put >>> it in the 'properties' directory of the installation. >>> Shlomy >>> >>> On Thu, Jan 14, 2010 at 4:05 PM, neil hhw <ne...@gm...> wrote: >>>> I try to change the value of the file.label to Chinese code , when I pack it >>>> to jar files it turns to be unrecognizable code, >>>> So mind to tell me where is the problem ? >>>> -- >>>> neil best wishes for you! >>>> >>>> ------------------------------------------------------------------------------ >>>> Throughout its 18-year history, RSA Conference consistently attracts the >>>> world's best and brightest in the field, creating opportunities for >>>> Conference >>>> attendees to learn about information security's most important issues >>>> through >>>> interactions with peers, luminaries and emerging and established companies. >>>> http://p.sf.net/sfu/rsaconf-dev2dev >>>> -- >>>> ----------------------------------------------- >>>> jEdit Developers' List >>>> jEd...@li... >>>> https://lists.sourceforge.net/lists/listinfo/jedit-devel >>>> >>>> >>> >> >> >> >> -- >> neil best wishes for you! >> > -- neil best wishes for you! |