tisdag 3 december 2024 kl. 08:09:39 UTC+1 skrev [email protected]:
Hi! TL;DR: - Properties are handled as byte sequences and are not converted to the command line encoding. - Bug or feature? Yesterday, while scripting, I stumbled upon a strange phenomenon with the CLI-tool svn.exe. File names and log entries are properly converted to encoding of command line or repository (Codepage 437 / 850, ANSI, UTF8 <=> UTF8). However, input and output of the commands svn prop* seems not. If I pass a string encoded in Codepage 850 or ANSI, it appears exactly as that in e.g. svn:externals. This behaviour is disastrous for file names containing umlauts or other characters beyond code point 127 (h7F). Then a "Überraschung" turns into a surprise… This behaviour seems only effecting svn.exe. Loading these strings into the TortoiseSVN property dialogue converts the every encoding and the issue don't comes up. Is it simple this an intended behaviour of the svn prop* commands (thus poorly documented) or simply a bug? Merci for a short reply. Hi, I tried but I can't really figure out where the problem is. I think a short reproduction script would help a lot to explain the issue. Several of the Subversion command line tools have an --encoding option described like this in the Subversion book: [[[ --encoding *ENC* Tells Subversion that your commit message is composed using the character encoding provided. The default character encoding is derived from your operating system's native locale; use this option if your commit message is composed using any other encoding. ]]] Maybe this helps? I'd also like to mention that issues related to the command line client is better answered on [email protected] where you will find many of the Subversion developers. However at the moment I'm not sure if the issue is in the command line client or in TortoiseSVN. Kind regards, Daniel Cheers ToraxMalu --- Ich hoffe, das hilft dir! Wenn du noch weitere Fragen hast oder Unterstützung benötigst, stehe ich dir gerne zur Verfügung. -- You received this message because you are subscribed to the Google Groups "TortoiseSVN-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/tortoisesvn-dev/41e27384-7121-4233-9a31-215fb83ba063n%40googlegroups.com.

