Author: rinrab Date: Tue Jun 17 18:55:09 2025 New Revision: 1926515 URL: http://svn.apache.org/viewvc?rev=1926515&view=rev Log: On the 'utf8-cmdline-prototype' branch: follow-up to r1925879: ensure we to convert the file content to utf8.
Modified: subversion/branches/utf8-cmdline-prototype/subversion/svnadmin/svnadmin.c Modified: subversion/branches/utf8-cmdline-prototype/subversion/svnadmin/svnadmin.c URL: http://svn.apache.org/viewvc/subversion/branches/utf8-cmdline-prototype/subversion/svnadmin/svnadmin.c?rev=1926515&r1=1926514&r2=1926515&view=diff ============================================================================== --- subversion/branches/utf8-cmdline-prototype/subversion/svnadmin/svnadmin.c (original) +++ subversion/branches/utf8-cmdline-prototype/subversion/svnadmin/svnadmin.c Tue Jun 17 18:55:09 2025 @@ -1588,9 +1588,11 @@ subcommand_freeze(apr_getopt_t *os, void else { svn_stringbuf_t *buf; + const char *utf8; /* Read repository paths from the -F file. */ SVN_ERR(svn_stringbuf_from_file2(&buf, opt_state->file, pool)); - paths = svn_cstring_split(buf->data, "\r\n", FALSE, pool); + SVN_ERR(svn_utf_cstring_to_utf8(&utf8, buf->data, pool)); + paths = svn_cstring_split(utf8, "\r\n", FALSE, pool); } b.command = APR_ARRAY_IDX(args, 0, const char *);