Mixed encodings in dump file

Ori Avtalion oavtal at bezeqint.net
Sat Jan 6 17:53:12 CST 2007


Toby Johnson wrote:
> 
> Gotcha. I'll close ticket 26 and open another to add an encoding switch
> to ssphys.
> 

I have written a patch for
<http://www.pumacode.org/projects/vss2svn/ticket/44>

Since I have technical problems at work with running vss2svn from the
source, I cannot test it with my VSS repository.

I know this isn't a healthy way to submit patches, but I think it will
at least help speed the ticket along, and since I made changes to ssphys
it can basically be tested with a regular latin-codepage VSS repository.

There is a chance it may not run at all, though :)

I've added an encoding flag to the xml formatter of ssphys with a
default value of windows-1252, and a matching flag for vss2svn.pl (also
with a default).

Regarding DoSsCMD() in vss2svn.pl, the character range removed from the
output is correct for *most* windows codepages, since all of them
re-define just the lower part of windows-1255.
Arabic, for example, has rarely used characters in 0x8D and 0x90
<http://en.wikipedia.org/wiki/Windows-1256>

-Ori
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vss-encoding.patch
Type: text/x-patch
Size: 5174 bytes
Desc: not available
Url : http://lists.pumacode.org/pipermail/vss2svn-users-lists.pumacode.org/attachments/20070107/644c0910/vss-encoding.bin


More information about the vss2svn-users mailing list