TALKER_ALIAS_TEXT_FORMAT now accepts a comma-separated list (e.g. "utf8,iso8").
encode_talker_alias_emblc emits the TA blocks in each requested encoding back to
back, and rewrite_embed_lc cycles through them, so radios of different vendors
each pick up the format they support in turn.
Rationale: in field testing, Motorola only displayed format 2 (UTF-8) and Hytera
only format 1 (ISO-8859-1) -- mutually exclusive in a single TA. Sending both
("utf8,iso8") makes the alias show on both at once. Confirmed on real Motorola
and Hytera radios.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Adds encode_iso8 (format 1 / ISO-8859-1) and encode_7bit (format 0) alongside
the existing UTF-8 (format 2) encoder, selectable via a new GLOBAL/per-system
TALKER_ALIAS_TEXT_FORMAT key (default 'utf8', so existing behaviour is
unchanged). ISO-8 is rendered by radios that do not display UTF-8 Talker Alias
(notably many Hytera models, which show UTF-8 TA blank/garbled while Motorola
shows it fine); 7-bit is the exact inverse of decode_ta()'s 7-bit path for the
oldest radios. Round-trip validated (encode_ta_buffer -> decode_ta) for all
three formats, including ISO-8859-1 accents.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>