File 0477-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/src/erl_ext_dist.xml b/erts/doc/src/erl_ext_dist.xml
index 6239e127d7..9a9e683113 100644
--- a/erts/doc/src/erl_ext_dist.xml
+++ b/erts/doc/src/erl_ext_dist.xml
@@ -135,12 +135,9 @@
       Atoms encoded with <seemfa marker="erts:erlang#term_to_binary/1">
       <c>erlang:term_to_binary/1,2</c></seemfa> or
       <seemfa marker="erts:erlang#term_to_iovec/1">
-      <c>erlang:term_to_iovec/1,2</c></seemfa> are by default still using the
-      old deprecated Latin-1 format
-      <seeguide marker="#ATOM_EXT"><c>ATOM_EXT</c></seeguide>
-      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 <seeguide marker="#ATOM_UTF8_EXT"><c>ATOM_UTF8_EXT</c></seeguide> or
+      <c>erlang:term_to_iovec/1,2</c></seemfa> are by default
+      also always encoded in UTF-8 using either
+      <seeguide marker="#ATOM_UTF8_EXT"><c>ATOM_UTF8_EXT</c></seeguide> or
       <seeguide marker="#SMALL_ATOM_UTF8_EXT"><c>SMALL_ATOM_UTF8_EXT</c></seeguide>.
     </p>
     <p>The maximum number of allowed characters in an atom is 255. In the
-- 
2.43.0

openSUSE Build Service is sponsored by