in reply to Re^4: UTF8 error when using Net::SFTP::Foreign
in thread UTF8 error when using Net::SFTP::Foreign

A third option (in addition to encoding or downgrading - as you've mentioned) could've been to simply fix the code that inadvertendly upgrades $coords...  as those coordinates appear to be simple numbers, I wouldn't know why unicode would need to play a role at all here.  That's why I got the impression that something unintentional might be going on in the OP's code...