Jump to content


Unicode mode cannot recognize cyrillic file names

unicode cyrillic charset

  • Please log in to reply
1 reply to this topic

#1 chelios2k

chelios2k

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 04 September 2019 - 08:18 AM

Hi everyone,
We just switch our perforce server to unicode mode with p4d -xi. Now we've got an error when trying to checkout some files with cyrillic file name:
Librarian checkout depot/_TOOLS/FontBuilder/Тестовый.txt failed.
open for read: depot/_TOOLS/FontBuilder/Тестовый.txt,v: No such file or directory
Our depot is huge anough and uses NFS storage. There were not ploblems like above when server worked in non unicode mode.
Here is directory listing where perforce stores proplem file
drwx------  2 nobody  nogroup	 4 Apr 11  2018 Divo.BinPacking.dll,d
drwxr-xr-x  2 nobody  nogroup	 7 Apr 11  2018 Divo.Imaging.dll,d
drwxr-xr-x  2 nobody  nogroup	 7 Apr 11  2018 Divo.Imaging.Native.dll,d
drwxr-xr-x  2 nobody  nogroup	 7 Apr  5  2018 font.exe,d
drwx------  2 nobody  nogroup	 3 Apr  5  2018 FontBuilder_dpi.exe,d
drwxr-xr-x  2 nobody  nogroup	15 Apr 12  2018 FontBuilder.exe,d
drwxr-xr-x  2 nobody  nogroup	 8 May 27 18:05 freetype.dll,d
drwxr-xr-x  3 nobody  nogroup	 3 May 11  2011 ru-RU
-rw-------  1 nobody  nogroup  3174 Apr  5  2018 ????????.txt,v
The console is UTF-8 and all cyrillic characters in file name is under questions mask. So perforce server cannot recognize cyrillic file name as it uses UTF-8 too (described here https://community.pe.../s/article/3104)
I think that perforce server in non unicode mode uses depot store in different way (charset or something). Has any got a clue how to solve my problem?

#2 chelios2k

chelios2k

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 05 September 2019 - 06:46 AM

The issue can be closed)
The resolve was made by converting file names from CP1251 to UTF-8 with convmv tool. So perforce can match DB item with depot storage object because all data is encoded the same UTF-8





Also tagged with one or more of these keywords: unicode, cyrillic, charset

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users