File 0340-Update-docs-about-atom-encoding-format-on-External-T.patch of Package erlang

From 22a008409e0f58a47be2eaea16211372eeb205e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C3=A9ter=20G=C3=B6m=C3=B6ri?= <gomoripeti@gmail.com>
Date: Wed, 7 May 2025 16:00:04 +0200
Subject: [PATCH] Update docs about atom encoding format on External Term
 Format page

In the documentation of `term_to_binary/2` `{minor_version, 2}` it is
already clarified that "This is as of Erlang/OTP 26.0 the
default. Atoms are unconditionally encoded using utf8."
---
 erts/doc/guides/erl_ext_dist.md | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/erts/doc/guides/erl_ext_dist.md b/erts/doc/guides/erl_ext_dist.md
index 6239e127d7..9a9e683113 100644
--- a/erts/doc/guides/erl_ext_dist.md
+++ b/erts/doc/guides/erl_ext_dist.md
@@ -78,10 +78,8 @@ Atoms sent over node distribution are always encoded in UTF-8 using either
 [`ATOM_CACHE_REF`](erl_ext_dist.md#atom_cache_ref).
 
 Atoms encoded with [`erlang:term_to_binary/1,2`](`erlang:term_to_binary/1`) or
-[`erlang:term_to_iovec/1,2`](`erlang:term_to_iovec/1`) are by default still
-using the old deprecated Latin-1 format [`ATOM_EXT`](erl_ext_dist.md#atom_ext)
-for atoms that only contain Latin-1 characters (Unicode code points 0-255).
-Atoms with higher code points will be encoded in UTF-8 using either
+[`erlang:term_to_iovec/1,2`](`erlang:term_to_iovec/1`) are by default
+also always encoded in UTF-8 using either
 [`ATOM_UTF8_EXT`](erl_ext_dist.md#atom_utf8_ext) or
 [`SMALL_ATOM_UTF8_EXT`](erl_ext_dist.md#small_atom_utf8_ext).
 
-- 
2.43.0

openSUSE Build Service is sponsored by