Kenneth Porter <shiva <at> sewingwitch.com> writes: > > --On Thursday, August 31, 2006 1:07 PM +0000 Constantine Dokolas > <cdokolas <at> gmail.com> 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?
It isn't a proper IANA name, you're quite right. > 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. No such problem. The locale is certainly installed or the user wouldn't be able to have set it in the first place. The main problem is the one above. > 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. Too bad the ssphys source code is "Visual C++ 2005"-only. I'll try to find a way to get that and do some experimenting. Don't hold your breath though. Meanwhile... I tried ssphys 0.21.1 by itself against the previous version and realized the XML files it produced had encoding="UTF-8" (instead of "windows-1252"), and decided to try the whole vss2svn routine from the start. The result is no greek characters at all (in the dumpfile). The file mentioned previously comes out as _.txt (all greek characters were eliminated and only the underscore survived). Doc _______________________________________________ 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