That's a very useful patch, as supporting non-european characters in the
file manager Java applet has always stumped me (due to Java's use of
Unicode vs. various other encodings for the rest of webmin). However,
there is one problems with your patch - it makes use of some *Reader
classes that are not available in Java 1.1, and I want to make sure the
applet remains compatible with that version of Java due to the large
number of web browsers out there with support only for that old
Any chance you could modify it to make use of LineInputStream again?
On Tue, 2003-08-19 at 16:09, Keisuke Mori wrote:
> FileManager seems to have a problem on displaying
> international language texts on icons and buttons of the
> Java Applet. Garbage strings are displayed on the icons when
> language setting is changed to other than English. (e.g. Japanese in my
> I'm sending a patch as my suggestion of fixing this problem.
> This patch fixes as follows:
> - lang.cgi returns the current charset in Content-type: header.
> - FileManager.get_text() retrieves the charset and decode
> the icon texts accordingly.
> - LineInputStream class is no longer needed.
> - corrects one Japanese translation error
> I hope it helps.
> Thank you.
> Keisuke MORI
> Phoenix Technologies K.K.