To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=75505
                 Issue #|75505
                 Summary|Problem opening UTF-8 encoded tab-delimited data
               Component|Spreadsheet
                 Version|OOo 2.2 RC3
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|open-import
             Assigned to|spreadsheet
             Reported by|ayaniger





------- Additional comments from [EMAIL PROTECTED] Sun Mar 18 12:34:05 +0000 
2007 -------
I am attaching a file with tab-delimited data, ISO-8859-8 encoded, with the
extension “TDF”. If I assign scalc.exe to the file type TDF,and double-click on
the file from Windows Explorer, it opens properly in Calc. 

I'm also attaching the same file but saved in UTF-8 format. When I double-click
on the UTF-8 file from Windows Explorer, it opens not in Calc but in Writer.

After I did some debugging of the problem, I found that in
SfxFrameLoader_Impl::load, for the iso-8859-8 file, the variable “aTypeName” 
gets the value "calc_Text_txt_csv_StarCalc", while for the UTF-8 file, it gets
the variable "writer_WordPerfect_Document".

(The value is assigned to “pIt->second” in sequencehashmap.hxx, line 270, in the
template getUnpackedValueOrDefault.)

If I give the UTF-8 file an extension “*.txt”, and open it from an OOo
filepicker window, specifying that it is of file type CSV, it opens in Calc as
it should.

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