Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 156910

Summary: Encoding selection is lost in OOo file dialog
Product: [Fedora] Fedora Reporter: Leon Ho <llch>
Component: openoffice.orgAssignee: Caolan McNamara <caolanm>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dcbw, eng-i18n-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-30 10:16:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 136451    
Description Flags
the "Text Encoded" option in the file open dialog
the dialog that opens after the .txt file is then selected
the shift-jis example opened none

Description Leon Ho 2005-05-05 05:56:13 UTC
Description of problem:
AFAIR, there are some sort of encoding selection in file dialog in older version
of to enable user to select what encoding is the documentation.
However I cannot see with current OpenOffice with new GTK2 file dialog.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. OOwriter
2. File -> Open
3. Cannot choose file encoding
4. Choose a document in native encoding, such as eucJP
Actual results:
file content is scrambled

Expected results:
file content should be read correctly

Additional info:

Comment 1 Caolan McNamara 2005-05-05 08:23:26 UTC
Should still be there as "Text Encoded" which opens the .txt file and pops up a
dialog to request the format. Try in a recent OOo e.g. 1.9.100-1

Comment 2 Leon Ho 2005-05-09 03:18:05 UTC
Just tried with 1.9.100-1 but cannot see that dialog. Will attach eucJP and
ShiftJIS encoded for you to test.

Also does opening .sxw or .doc have similar functions?

Comment 3 Leon Ho 2005-05-09 03:19:24 UTC
Created attachment 114149 [details]

Comment 4 Leon Ho 2005-05-09 03:19:57 UTC
Created attachment 114150 [details]

Comment 5 Caolan McNamara 2005-05-30 10:10:54 UTC
Created attachment 114969 [details]
the "Text Encoded" option in the file open dialog

Comment 6 Caolan McNamara 2005-05-30 10:12:27 UTC
Created attachment 114970 [details]
the dialog that opens after the .txt file is then selected

Comment 7 Caolan McNamara 2005-05-30 10:14:09 UTC
Created attachment 114971 [details]
the shift-jis example opened

Comment 8 Caolan McNamara 2005-05-30 10:16:53 UTC
The three pictures show how to specifically set the text encoding of a txt file.
Select filter of "Text Encoded", open the file, the dialog appears. Override the
encoding and font etc and I get the two documents to open in what appears the
right way.

.sxw/.docs have no such "override" stuff as it doesn't make sense for them.
.sxws are in utf-8 and .docs are generally in ucs-2, and when not specify
internally the encoding they were written in.