Ticket #6463 (assigned defect)

Bug contains 1 commit(s) | SVN Diffs for #6463

 

Opened 4 months ago

Last modified 4 months ago

Provide option to not escape errln, logln

Reported by: mark Assigned to: mark (accepted)
Priority: assess Milestone: UNSCH
Component: unknown Version:
Keywords: Cc:
Load: Xref:
Java Version: Operating System:
Project (C/J): all Weeks:
Review:

Description

With modern systems, it is useful to be able to see the real characters and not the escaped versions. I suggest adding a new option (-u, for example) to the test framework to see the real characters.

Attachments

Change History

07/26/08 00:00:44 changed by srl

* In many cases, it's not errln/logln which do the escapes, but individual functions.

* I suggest instead detecting/setting the output encoding. Current behavior default is 'invariant platform', everything not ascii/ebcdic is escaped. -u would effectively set it to utf-8 on output, causing no escapes.

Some code such as that dealing with format chars may still want escapes.

07/28/08 01:57:52 changed by mark

  • owner changed from somebody to mark.
  • status changed from new to assigned.

I agree, that would be a better way to do it. I have a first trial, which just disables the escaping, but I can improve it to use an output encoding. One question is how to do that? I don't see an easy way to get the encoding from the PrintWriter.


Add/Change #6463 (Provide option to not escape errln, logln)




Anti spam check: