Branko ÄŒibej <brane@xbc.nu> writes:
> >0xA0 is ISO-8859-1's non-breaking space.
> >
> Hmm, I wonder if it's represented as a Unicode unbreakable space
> (U+000A, encoded in UTF-8, of course) in the repository.
What I see in gdb is
Breakpoint 3, svn_subst_detranslate_string (new_value=0xbffff504,
value=0x8083d90, pool=0x8083540)
at ../svn/subversion/libsvn_subr/subst.c:860
860 if (value == NULL)
(gdb) x/16c value->data+69
0x8083a8d: 106 'j' 97 'a' 118 'v' 97 'a' 10 '\n' -62 'Â' -96 ' ' 32 ' '
0x8083a95: 65 'A' 100 'd' 100 'd' 32 ' ' 97 'a' 116 't' 116 't' 114 'r'
(gdb)fin
Run till exit from #0 svn_subst_detranslate_string (new_value=0xbffff514,
value=0x8083d90, pool=0x8083540)
at ../svn/subversion/libsvn_subr/subst.c:860
log_message_receiver (baton=0xbffff8cc, changed_paths=0x0, rev=5250,
author=0x80839f8 "2003-03-08 21:09:02 +0000 (Sat, 08 Mar 2003)",
date=0x8083580 "2003-03-08T21:09:02.623645Z",
msg=0x80835a0 "* subversion/bindings/java/org/tigris/subversion/SubversionException.java\n Add attributes status, file, line and public getter methods. Changed constructors\n to reflect new attributes. Added Throw"...,
pool=0x8083540) at ../svn/subversion/clients/cmdline/log-cmd.c:222
222 msg_native = logmsg->data;
Value returned is $2 = (struct svn_error *) 0x0
(gdb) x/16c logmsg->data+69
0x8085195: 106 'j' 97 'a' 118 'v' 97 'a' 10 '\n' -96 ' ' 32 ' ' 65 'A'
0x808519d: 100 'd' 100 'd' 32 ' ' 97 'a' 116 't' 116 't' 114 'r' 105 'i'
So the repository appears to contain 0xC2 0xA0 which gets converted to
0xA0 in my C locale.
--
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Mar 9 21:37:33 2003