Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'View non-Mac Roman files in FileMerge' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
View non-Mac Roman files in FileMerge
Authored by: fds on Dec 01, '09 10:51:27AM
The real hint would be is that you merely need to set the text encoding extended attribute correctly, something that Xcode and most current Mac text editors will already do on their own.

Or you can just drop into Terminal and set it yourself:
xattr -w com.apple.TextEncoding 'UTF-8;134217984' filename



[ Reply to This | # ]
View non-Mac Roman files in FileMerge
Authored by: unforeseen:X11 on Dec 01, '09 10:56:40AM

Yes, that's the real problem, files not having the right attributes. FileMerge can handle a variety of file encodings.

---
this is not the sig you`re looking for.



[ Reply to This | # ]
What about non-Mac-originated files?
Authored by: hamarkus on Dec 02, '09 06:16:28AM

I have to admit, I never had problems with file encoding and FileMerge and I definitely use a lot of file stored on non-HFS systems and edited by non-Mac computers.



[ Reply to This | # ]
View non-Mac Roman files in FileMerge
Authored by: g_mocken on Mar 28, '10 08:24:34AM

If you are using Subversion for SCM in Xcode, then all extended attributes are lost on check-in. In this case the original hint is very useful (unless someone knows a way to put HFS extended attributes into subversion properties).



[ Reply to This | # ]