- encoding_info/1 (binary clause): extract build_encoding_info/2 with true/false heads on String.valid?/1, so the valid-UTF-8 and invalid branches each own their map literal. - try_utf8_conversion/1: convert_to_utf8/2 dispatches on String.valid?/1 so the latin1 → UTF-8 fallback is a function head, not an inline if. No behavior change; all 34 Encoding tests still pass. |
||
|---|---|---|
| .. | ||
| aprsme | ||
| aprsme_web | ||
| mix/tasks | ||
| aprs_web.ex | ||
| aprsme.ex | ||