--On Thursday, August 31, 2006 1:07 PM +0000 Constantine Dokolas
<[EMAIL PROTECTED]> wrote:
57: char *l = setlocale(LC_ALL, "");
58: TiXmlDeclaration decl ("1.0", l, "");
Is the string returned a proper XML encoding constant? Not as defined by
Microsoft, but as defined by Posix for the setlocale function? Does the
Perl XML parser recognize and convert the resulting XML file to its
internal Unicode representation?
And if you do that, you can only run the conversion on a system that has
that locale installed. It then depends on either the system having that
locale as the system default, or the user selecting the desired locale
before starting the conversion.
I still think locales are "too smart" for this situation because locales
make a statement about the execution environment, not the files operated
on, and the two are not necessarily connected.
_______________________________________________
vss2svn-users mailing list
Project homepage:
http://www.pumacode.org/projects/vss2svn/
Subscribe/Unsubscribe/Admin:
http://lists.pumacode.org/mailman/listinfo/vss2svn-users-lists.pumacode.org
Mailing list web interface (with searchable archives):
http://dir.gmane.org/gmane.comp.version-control.subversion.vss2svn.user