To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=105665
                 Issue #|105665
                 Summary|opening Writer Text Encoded: charset changes perm to s
                        |preadsheet CSV temp default
               Component|Word processor
                 Version|OOO300m9
                Platform|PC
                     URL|
              OS/Version|Linux
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|writerneedsconfirm
             Reported by|nicklevinson





------- Additional comments from [email protected] Wed Oct  7 
02:34:52 +0000 2009 -------
When opening a Text Encoded file that should open with charset 8859-1, that
being what I've set as a default, under some conditions it opens as UTF-8 
instead.

To reproduce:
1. In Writer, make a new file. Type some text. Save as Text Encoded. Set ASCII
Filter Options > Character set > Western European (8859-1) and Paragraph Break >
CR & LF.
2. Close the file.
3. Open the file, leaving the unlabeled menu at All files.
4. This results in OOo attempting to open as a spreadsheet with Character set as
Unicode (UTF-8). Click Cancel button.
5. Again, try to open the file, but this time change All files to Text Encoded.
Click Open button.

What I get:
ASCII Filter Options > Character set reads Unicode (UTF-8).

What I expect:
ASCII Filter Options > Character set reading Western European (8859-1), my usual
default.

Other information:
I use OOo 3.0.0 OOO300m9 (Build 9358) with Fedora 10 Linux. I don't plan to
upgrade now, since it's stable and upgrading takes time.

Partial solution:

With all files closed, begin a new spreadsheet. Write something in a cell. Save
as Text CSV (.csv) (not the default ODF Spreadsheet (.ods)). Specify charset as
8859-1. Close the file. (This will result in a new default for Writer's Text
Encoded files.)

Repeat the process above for opening a Text Encoded file. It will still go to
UTF-8 for the erroneous attempt to open the text file as a spreadsheet. Cancel.
Resume the process above at step 5. This time, I get 8859-1, as I should.

However, repeating this partial solution (beginning a new spreadsheet, etc.)
results in UTF-8 reappearing as the default. Nonetheless, 8859-1 persists for
Text Encoded's default, as if changing it once and reverting is enough for
permanence elsewhere. If changing for CSV is supposed to change it for Text
Encoded, then the reversion-vs.-persistence suggests another bug.

Partial diagnosis proposed for this main bug (opening with All files causing
8859-1 to revert to UTF-8 in Writer): Apparently, OOo's attempt to open as a
spreadsheet (previously reported in Bug 84774 and Bug 91199) causes charset to
change. After that, OOo picks the charset for the Text Encoded file according to
the charset default of the nondefault spreadsheet CSV file format in OOo, if
CSV's default was changed once.

Thank you.

-- 
Nick

---------------------------------------------------------------------
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