Issue 95806 - Shift-Jis isn't recogniced
Summary: Shift-Jis isn't recogniced
Status: CLOSED WONT_FIX
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: OOo 3.0
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: requirements
QA Contact: issues@sw
URL:
Keywords: CJK
Depends on:
Blocks:
 
Reported: 2008-11-03 20:51 UTC by aristerko
Modified: 2013-08-07 14:38 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Example of a file (4.66 KB, text/plain)
2008-11-03 20:56 UTC, aristerko
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description aristerko 2008-11-03 20:51:55 UTC
When I try to open a TXT file coded on Shift-Jis (Japanese), Openoffice shows it
like an ANSI file. A correct behaviour would be to autodetect the codification
and showing it correctly.
Comment 1 aristerko 2008-11-03 20:56:02 UTC
Created attachment 57687 [details]
Example of a file
Comment 2 aristerko 2008-11-03 21:13:46 UTC
It shows Mojibake: http://en.wikipedia.org/wiki/Mojibake
Comment 3 eric.savary 2008-11-07 18:07:16 UTC
Reassigned
Comment 4 maho.nakata 2008-11-08 10:27:59 UTC
naoyuki:
ishimura-san, do you think this is a bug? Just I Cc:'ed and never verified.
Thanks for your time!

Comment 5 naoyuki 2008-11-10 01:08:01 UTC
Current behavior is the encoding of txt file is assumed platform default one.
So Shift-JIS txt file must be opened without problem in PCK/ShiftJIS locale of
Solaris/Linux
or Japanese Windows environment. If it's not, then it is a bug
I verified attached ShiftJIS file can be opened with StarSuite9 in PCK locale on
Solairs and 
Japanese Windows 2000/XP. We need to know more detailed info regarding platform
and using
OOo language environment.
Comment 6 aristerko 2008-11-10 01:48:31 UTC
I was using didn't try on a japanese windows xp, but in the spanish version
(both O.S and OOo) it is like I said before.
Comment 7 naoyuki 2008-11-10 02:10:16 UTC
Thanks aristerko for your environment info.
Nakata-san, it is not a bug but ENHANCEMENT request as current Type is suggested.
But I guess this enhancement may not be possible to implement as all of byte value
in ShiftJIS data are also valid as iso8859-1 data. So I believe the current
implementation
(user select 'Encoded Text' at FileOpen dialog when open txt file which encoding
is not 
identical with platform default) is reasonable.
Comment 8 maho.nakata 2008-11-10 07:08:19 UTC
naoyuki:

aristerko and ishimura-san, can I close this issue as WONTFIX?

BTW: the contents of the readme.txt...!?!?
Comment 9 naoyuki 2008-11-10 08:35:59 UTC
I have no object to close this as WONTFIX.
Comment 10 naoyuki 2008-11-10 08:38:53 UTC
Sorry typo. I have no objection to close this as WONTFIX.
Comment 11 maho.nakata 2008-11-11 03:09:37 UTC
all
thanks for your time. I close this issue as WONTFIX.
Thanks.
Comment 12 Mechtilde 2009-07-12 19:09:01 UTC
wontfix -> closed