Perforce repository indexing fails when the file path (including the filename) contains a non Unicode character.
- Perforce is configured as non Unicode
The indexing works and the files are available in FishEye
The below exception is thrown in the atlassian-fisheye-YYYY-MM-DD.log file:
The following alternative options are available as a workaround:
- (Preferred) Convert the repository to a Unicode one in Perforce.
- Add the fisheye.ignore.p4.client.errors=true property to the JVM system properties (see JVM system properties - Atlassian Documentation and Environment variable). This can be achieved in the following way:
- add the following to the $FISHEYE_INST/system.properties file
- add the following to the FISHEYE_OPTS environment variable
Fisheye allows you to define encoding for Perforce repository.
Before Fisheye 4.6.1 this encoding was used only to process Perforce output. In Fisheye 4.6.1 and later, also input commands are constructed with encoding that is readable by Perforce.
To make sure that the Fisheye input is readable for the Perforce repository,
repository encoding has to be set according to the file paths encoding in the repository.
For example, if a committer uses Windows machine with windows-1252 (“Western Europe") character set as their default encoding, the same encoding must be set in Fisheye.