I tried a simple test in Firefox 3.5.5 on Win7Pro64. I've got Sun Java 6u16.
The boxed output was ragged. I tried copy and paste of the output to Jedit and
got this error:
java.io.CharConversionException: Failed to encode the character
'?' (U+250C) at column 1 in line 1 with the encoding "Cp1252".
at
org.gjt.sp.jedit.bufferio.BufferIORequest.write(BufferIORequest.java:393)
at
org.gjt.sp.jedit.bufferio.BufferAutosaveRequest.run(BufferAutosaveRequest.java:82)
at org.gjt.sp.util.WorkThread.doRequest(WorkThread.java:213)
at org.gjt.sp.util.WorkThread.doRequests(WorkThread.java:180)
at org.gjt.sp.util.WorkThread.run(WorkThread.java:154)
Caused by: java.nio.charset.UnmappableCharacterException: Input length = 1
at java.nio.charset.CoderResult.throwException(Unknown Source)
at sun.nio.cs.StreamEncoder.implWrite(Unknown Source)
at sun.nio.cs.StreamEncoder.write(Unknown Source)
at java.io.OutputStreamWriter.write(Unknown Source)
at
org.gjt.sp.jedit.bufferio.BufferIORequest.write(BufferIORequest.java:378)
The output looks fine in IE 8, Notepad or in Thunderbird 2.0.0.23:
3 2$'this is a';'ragged';'test of j'
┌─────────┬─────────┐
│this is a│ragged │
├─────────┼─────────┤
│test of j│this is a│
├─────────┼─────────┤
│ragged │test of j│
└─────────┴─────────┘
It is interesting that you can open multiple browser sessions and see past jijx
history.
--
David Mitchell
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm