Server-side checkout of unicode files

I've noticed a strange behaviour on our build agents and I was wondering if anyone has seen this issue or can help me. We're using perforce and using server-side checkouts. What we noticed is we have some unicode files that are xml based but with a different extension. When the files are copied to build agents, they're not unicode anymore, the size is reduced to half and if I view the file in binary viewer it's missing the FFFE at the start of the file. However if I sync that file on any other machine directly from perforce, the file does have FFFE. If this is a bug with server-side checkout in TeamCity, I think I have to switch to client-side checkouts and hope that it works. Any helps is appreciated.


Comment actions Permalink


Unicode support has to be explicitly enabled in VCS root settings. Please set Support UTF-16 encoding checkbox there.


Please sign in to leave a comment.