最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

utf 8 - Boomi failing to process UTF-8 files - Stack Overflow

programmeradmin1浏览0评论

A warehouse we work with put a change in where they agreed to write a '.tmp' extension on a file when transferring, and then change to xml once complete.

When we try and process the files we get this error message:

Failed tracking custom fields; Caused by: Unable to read data file ; Caused by: Invalid UTF-8 start byte 0x9f (at char #4, byte #-1)

Now after googling, this suggested an encoding issue. I noticed that some of the older files we received from them were UTF-8-BOM. I took one of the failed files, opened in notepad++, changed the encoding to UTF-8-BOM and boom - file processes with no issue.

However, they aren't accepting that its a fault their side. They're blaming the SFTP. They took both files I sent them, and checked both their side and both show UTF-8 encoding.

To throw more confusion in, i looked at some other random old files and these just have UTF-8 encoding, but had gone through ok.

I'm not mega familiar with the difference between UTF-8 and UTF-8-BOM. What's going on here?

发布评论

评论列表(0)

  1. 暂无评论