Thanks for the reply, Zach.  I am using cygwin on Windows 7.

The cygwin locale is en_US.utf-8, and all indications are that it gives 
correct bytes for the filenames.  For example, "ls" outputs the two-byte 
sequence c3a9 for that accented "e" (according to emacs hexl-mode).

If I re-run "tup" in an emacs shell buffer, it's a little more telling.  (I 
think the "Replacement character" was an artifact of my copying from the 
cmd shell window.)

*   9% 15) site\static\images\full: 
..\..\..\../media/images\Am\351rico-Hamlet.jpg 
 *** tup errors ***
tup error: File 
'd:\home\gavin\ws\local\site\static\images\full\Américo-Hamlet.jpg' was 
written to, but is not in .tup/db. You probably should specify it as an 
output
 -- Delete: 
d:\home\gavin\ws\local\site\static\images\full\Américo-Hamlet.jpg
tup error: Expected to write to file 'Am\351rico-Hamlet.jpg' from cmd 9024 
but didn't
 *** Command ID=9024 ran successfully, but tup failed to save the 
dependencies.


Now instead of the "Replacement Character" I see \351in emacs.  emacs 
reports this character as

            character:  \351 (displayed as \351) (codepoint 4194281, 
#o17777751, #x3fffe9)
    preferred charset: eight-bit (Raw bytes 128-255)
code point in charset: 0xE9
               syntax: w which means: word
             category: L:Left-to-right (strong)
             to input: type "C-x 8 RET HEX-CODEPOINT" or "C-x 8 RET NAME"
          buffer code: #xE9
            file code: not encodable by coding system utf-8-unix



(Note that although emacs shows this as \351 in blue type, it comes out 
looking like a space when copied and pasted, so I manually interpolated it 
in the above.)

What puzzles me is that Tup seems to be dealing with the correct bytes when 
passing the command to the shell, but the issues arise when internalizing 
the name for the graph database.

I'd be happy to find that this was something I'm doing wrong though -- I 
also have trouble FTP-ing those files :(

Thanks,
gavin

-- 
-- 
tup-users mailing list
email: [email protected]
unsubscribe: [email protected]
options: http://groups.google.com/group/tup-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to