[BP 7.0.4] Ignore byte order marks when parsing external data

Description

Byte Order Marks (BOM)s can cause external datasets to fail when reading data, as we support UTF-8 encoding but some of the files might contain BOM which can be UTF-16. It is possible to skip the BOM when encountered and continue reading the file.

Components

Affects versions

Fix versions

Labels

Environment

None

Link to Log File, atop/blg, CBCollectInfo, Core dump

None

Release Notes Description

None

Activity

CB robot April 27, 2022 at 7:12 PM

Build couchbase-server-7.2.0-1100 contains cbas-core commit ab8c652 with commit message:
:[BP 7.0.4] Ignore byte order marks at start of files

CB robot April 25, 2022 at 11:31 AM

Build couchbase-server-7.1.1-3024 contains cbas-core commit ab8c652 with commit message:
:[BP 7.0.4] Ignore byte order marks at start of files

Chanabasappa Ghali April 7, 2022 at 6:52 AM
Edited

Verified with Enterprise Edition 7.0.4 build 7237

CB robot March 23, 2022 at 6:20 AM

Build couchbase-server-7.0.4-7229 contains cbas-core commit ab8c652 with commit message:
:[BP 7.0.4] Ignore byte order marks at start of files

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Is this a Regression?

Unknown

Triage

Untriaged

Story Points

Sprint

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created March 17, 2022 at 12:17 AM
Updated April 27, 2022 at 7:12 PM
Resolved March 22, 2022 at 9:04 PM
Instabug