Horde agent unicode file issues

Horde is getting stuck in the “Updating Workspaces” phase for my local windows Agent. It keeps dying with the following error:

Syncing 109717 files using 4 threads...
Unhandled exception while running conform: Warning: Translation of file content failed near line 11 file C:\HordeAgent\Sandbox\Demo\Sync\Templates\TP_AEC_HandheldARBP\manifest.json (Generic=Illegal)

This appears to be an issue with certain files in p4 being set to filetype “unicode”, or “utf8” that have BOM (Byte Order Mark) set. I can just fix these manually, but this seems more like a configuration issue. Has anyone else run into this?

Hi, did you fix it? I meet the same issue.

The Horde Agent requires P4CHARSET setup to Unicode just like you would in P4V/P4CLI.

On your Horde Agent machine create a new System variable(Name: P4CHARSET, Variable: utf8), then restart your Agent service. That worked for me.