To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=74335





------- Additional comments from [EMAIL PROTECTED] Fri Feb  9 17:32:02 +0000 
2007 -------
The DSC standard specifies not much in regard of encoding. PostScript itself
says that a string is an array containg element values from 0 to 255 which are
in an undefined encoding. However there is a DSC %%DocumentData mark that states
whether the file is 7bit ascii clean, 8bit or binary
<quote>
• Clean7Bit—The page description consists of only byte codes 0x1B to
0x7E (ESC to ‘~’), 0x0A (LF), 0x0D (CR), and 0x09 (TAB). Whenever
0x0A and/or 0x0D appear, they are used as end-of-line characters.
Whenever 0x09 appears, it is used as a tab character (i.e. whitespace).
• Clean8Bit—The same as Clean7Bit, but the document may also contain
byte codes 0x80–0xFF.
• Binary—Any byte codes from 0x00–0xFF may appear in the document.
</quote>

Strictly spoken this %%DocumentData applies only to the PostScript document data
itself, not to the DSC comments. But who knows what implementations are out
there :-).

Up to now OOo produces 7bit clean PostScript files, which is sort of
traditional. We could change that to Clean8Bit and use UTF8. I'm just not sure
what might/might not break in some circumstances when you use 8 bit PostScript.
Probably printing itself would not be influenced, but sending a PostScript
attachment and such. I can understand that UTF-7 is a hinderance to you. We're
caught in undefined country here since there is no standard as to what encoding
the string should be. We could quietly change this to UTF8, but is this the
right thing to do ? What old hardware/software combination will break because of
this ?

I chose UTF-7 above the previous behaviour, because at least it will not lose
information (the complete unicode will be still contained).

Please, anybody with an opinion advise here. The change to UTF8 can be done
easily, only we should be sure that we actually want that.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to