If the only purpose is to put information in a lock file, maybe just skipping non-ascii characters or treat is as a binary string is enough? Is this string you put there interpreted as a name by anybody else?
If the only purpose is to put information in a lock file, maybe just skipping non-ascii characters or treat is as a binary string is enough? Is this string you put there interpreted as a name by anybody else?