From: SourceForge.net <no...@so...> - 2013-02-20 18:32:36
|
Bugs item #3311234, was opened at 2011-06-03 12:07 Message generated for change (Comment added) made by kerik-sf You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=3311234&group_id=588 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: macros Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Eric Le Lay (kerik-sf) >Assigned to: Nobody/Anonymous (nobody) Summary: encoding of macros is not specified Initial Comment: Beanshell macros are loaded with the default encoding. This results in an error message when I run Macros/Insert Buffer Properties since I have set UTF-8 as default encoding and Insert_Buffer_Properties.bsh is in ISO-8859-1 and contains an accented char (ö). I can't change the encoding of the file or it will result in a warning with other default encodings. Specifying an encoding when calling jEdit.openTemporary() in Beanshell._runScript() seems the best option. Then, what encoding would you like ? ---------------------------------------------------------------------- >Comment By: Eric Le Lay (kerik-sf) Date: 2013-02-20 10:32 Message: the macro has been changed to utf-8 meanwhile. I've added an explicit utf-8 encoding in r22807. I'm still not happy about this source of non-portability in jEdit. ---------------------------------------------------------------------- Comment By: Eric Le Lay (kerik-sf) Date: 2012-03-11 11:27 Message: Only macros/Insert_Buffer_Properties.bsh poses problem. Following a recent discussion on the mailing list (https://sourceforge.net/mailarchive/message.php?msg_id=28963059) we should change the encoding of the macro and specify UTF-8 in Beanshell._runScript. I'll create a patch. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=3311234&group_id=588 |