Hi Thomas,
subversion@smartcvs.com wrote:
> Hi Patrick,
>
>> Not really, Everything is just UTF, since thats how subversion and
>> java handles texts.
>
>
> Well, I guess, the text file content is not tunneled through the
> java-bindings. So how I can tell it what encoding the text is written?
> I could configure a decent text editor (or IDE) to write the text in
> quite any encoding. How the java-bindings (or subversion) knows it?
You can access the file content as a byte array. Why should subversion
care about the encoding of the file?
>
>> See above. I have never tried japanese file names, but I see no
>> reason why that should not work.
>
>
> The problem in CVS is, that the file names are tunnelled byte-wise to
> the CVS server (1 byte == 1 character). The question is, when I commit
> a file "äöüÄÖÜß.txt" (German umlauts) on Windows and check it out on
> Unix, Mac OS or OS/2, will I get the same file name or a crippled one?
All filenames, log messages etc. are handled in subversion as UTF-8. The
command line client converts the user input from the native code page to
UTF-8 and program output from UTF-8 to the native code page if needed.
The javahl bindings gets the UTF-8 reprensentation of the java string
and creates java strings with the UTF-8 representation. Subversion was
designed with the Unicode character set in mind. I do not think that CVS
was.
>
>> Only implementing the svn:// protocol will make the library much less
>> usefull, since many public svn repositories are only accessable via
>> http:// and https://
>
>
> Please see my comments in a previous mail.
>
> Just curious, what port svn:// is using?
Read the source or look at the iana reversed port number list.
subversion/include/svn_ra_svn.h:40
#define SVN_RA_SVN_PORT 3690
>
> --
> Best regards,
> Thomas Singer
> _____________
> smartcvs.com
>
Best regards,
Patrick Mayweg
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jun 26 10:13:31 2004