Community
Participate
Working Groups
Attempting to use the console while running the Eclipse OSGi framework on IBM zSeries (EBCDIC character base) runs into problems with encoding. - in many cases, the file.encoding is set to 8859_1 to handle files that have been transferred as part of zip files and retain the ascii encoding - the console i/o needs to run in the native platform encoding, and cannot use 8859_1 and handle the i/o correctly. Rather than using the file.encoding to set the encoding within the FrameworkConsole class, define a new property such as osgi.console.encoding that is used only for the console encoding. This would then become the default encoding used.
Created attachment 25702 [details] Patch to support new property for console encoding. If property osgi.console.encoding present, use it, otherwise default to use file.encoding property as before.
Simple fix to include into 3.2 RC1. I will attach an updated patch.
Created attachment 38203 [details] patch updated patch to use FrameworkProperties instead of System
Jeff, please approve for RC1. very simple fix, but adds a new config property :(
+1 what's another property between friends...
patch has been released. [contributed patch applied]
adding "contributed" keyword to patches contributed by the community.