List Info

Thread: New - Can not work Shift-JIS encoding source file




New - Can not work Shift-JIS encoding source file
user name
2007-03-30 05:26:53
htt
p://pysvn.tigris.org/issues/show_bug.cgi?id=61
                 Issue #|61
                 Summary|Can not work Shift-JIS encoding
source file
               Component|pysvn
                 Version|1.5.1
                Platform|PC
              OS/Version|Windows XP
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|workbench
             Assigned to|barryscott
             Reported by|yetangye






------- Additional comments from yetangyetigris.org Fri Mar 30 03:26:53 -0700 2007 -------
I work under Japanese ver Windows XP, so my source files
almost are
Shift-JIS(cp932). But when I operate on Shift-JIS files, I
got error below.
It likes Work Bench only support English?
------------------------------------------------------------
------

AppBackgroundFunction<wb_app.stepGenerator>
Traceback (most recent call last):
  File
"BuildInstallerbuildwb_mainout1.pyz/wb_app",
line 380, in __call__
  File
"BuildInstallerbuildwb_mainout1.pyz/wb_app",
line 413, in stepGenerator
  File
"BuildInstallerbuildwb_mainout1.pyz/wb_subversion_di
ff", line 268, in
__getFileContents
  File
"BuildInstallerbuildwb_mainout1.pyz/wb_read_file&quo
t;, line 21, in
readFileContentsAsUnicode
  File
"BuildInstallerbuildwb_mainout1.pyz/wb_read_file&quo
t;, line 27, in
contentsAsUnicode
LookupError: unknown encoding: cp932

------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribepysvn.tigris.org
For additional commands, e-mail: issues-helppysvn.tigris.org


Can not work Shift-JIS encoding source file
user name
2007-03-31 10:16:29
htt
p://pysvn.tigris.org/issues/show_bug.cgi?id=61



User barryscott changed the following:

                What    ld value 
               |New value
============================================================
====================
                  Status|NEW                       |STARTED
------------------------------------------------------------
--------------------
        Target milestone|not determined            |1.5.2
------------------------------------------------------------
--------------------




------- Additional comments from barryscotttigris.org Sat Mar 31 08:16:29 -0700 2007 -------
Workbench works in Unicode not english (iso-8859-1).
Internally
workbench converts native files into unicode to diff them.

I need to update the table of codecs to include cp932 so
that workbench
can convert from Shift-JIS into unicode. The cp932 codec was
added to
python after I had created the codecs support code. I'll
update the
codecs to the latest set in python 2.5 for the next
release.

As a work around change the diff to use svn diff from the
view menu.




------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribepysvn.tigris.org
For additional commands, e-mail: issues-helppysvn.tigris.org


Can not work Shift-JIS encoding source file
user name
2007-04-01 01:43:42
htt
p://pysvn.tigris.org/issues/show_bug.cgi?id=61






------- Additional comments from yetangyetigris.org Sat Mar 31 23:43:41 -0700 2007 -------
Thanks Ur great Work Bench, and Ur answer about work around

Wait the update with pleasure.

(In fact, not only when diff, source commit, update, etc.
has this problem too.)

------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribepysvn.tigris.org
For additional commands, e-mail: issues-helppysvn.tigris.org


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )