From 4dbb16f6b60d1a54ee76f31a027ab59324a12c94 Mon Sep 17 00:00:00 2001 From: Joshua MacDonald Date: Thu, 10 Oct 2024 16:37:14 -0700 Subject: [PATCH] edit --- text/0257-utf8-handling.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/text/0257-utf8-handling.md b/text/0257-utf8-handling.md index faf7c8dc6..ed6a0731a 100644 --- a/text/0257-utf8-handling.md +++ b/text/0257-utf8-handling.md @@ -158,6 +158,11 @@ satisfy this requirement). SDKs MAY permit users to opt-out of UTF-8 validation for performance reasons. +Optional UTF-8 validation MUST be applied before the attribute +transformation rule stated for invalid UTF-8 strings. This means +UTF-8 validation prevents downgrading to a `bytes_value` encoding +for string attributes. + #### No byte-slice valued attribute API As a caveat, the OpenTelemetry project has previously debated and