From 48634912080a6fef38bbc3f4610af4221dc7153b Mon Sep 17 00:00:00 2001 From: Moosieus Date: Sun, 15 Oct 2023 14:05:29 -0400 Subject: [PATCH] fix replace_invalid doctest --- lib/unicode.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/unicode.ex b/lib/unicode.ex index 710464f..b8a94fc 100644 --- a/lib/unicode.ex +++ b/lib/unicode.ex @@ -86,7 +86,7 @@ defmodule Unicode do ### Example - iex> Unicode.validate_utf8(<<"foo", 0b11111111, "bar">>) + iex> Unicode.replace_invalid(<<"foo", 0b11111111, "bar">>, :utf8) "foo�bar" """