Skip to content
A filer asked

utf8 error

Answered by SCMTR.io
WhatsApp

The short answer

When ICEGATE emails that your filing "File is not UTF-8 encoded" or "failed due to UTF-8 encoding validation … at line <n> and position <n>", it means a character in the file is not plain text—typically a value pasted from a PDF, Word, or an email, such as a curly quote, long…

The full answer

When ICEGATE emails that your filing "File is not UTF-8 encoded" or "failed due to UTF-8 encoding validation … at line <n> and position <n>", it means a character in the file is not plain text—typically a value pasted from a PDF, Word, or an email, such as a curly quote, long dash, degree sign, accented letter, or non-breaking space—and the file was saved in a Windows encoding instead of UTF-8.

ICEGATE turns the whole file away before reading any of the filing, so no acknowledgement or field-by-field list is coming, and nothing was filed.

To fix it:

  1. Drop the file on SCMTR JSON upload (signed in at SCMTR JSON upload) to see every character that is not plain text listed by line and column, along with the field it sits in and what to type instead. (Alternatively, you can find it in Notepad++ without the app). Match it to the email by the line; the email's "position" counts bytes from the start of the file, not characters along the line.
  2. Retype the value by hand where the file was made, rather than pasting it again.
  3. Create the file again and sign it again. Never edit a signed file directly, because one changed byte breaks the signature.
  4. Re-file with a new control number.

Filings made directly on this platform should not encounter this issue, as typing or pasting into any field converts those characters to plain text as you go, and values from an imported file or the address book are flagged before you sign.

Where this comes from

The SCMTR reference pages this answer rests on — free to read, no sign-in.

Was this helpful?

This answer is provided to the best of our knowledge based on our SCMTR reference materials and is for general informational purposes only. It is not legal or customs-compliance advice, may not reflect the most current ICEGATE/CBIC requirements, and creates no obligation on our part. Always verify against the official ICEGATE/CBIC sources or consult a licensed customs broker before filing.

Someone in your group asking the same?

Send them this answer — it opens with the short version and the sources.

From SCMTR.io

SCMTR filing, checked before ICEGATE sees it

CSN, SAM / SDM and export SCX for forwarders, consol agents and shipping lines — every check before you sign.

Everything SCMTR.io does

More questions filers asked

Every answer