Revert "internals: Support characters beyond the first unicode plane (WIP)"

This reverts commit d05c59f35b.
This commit is contained in:
Solomon Peachy 2025-08-20 16:09:49 -04:00
parent d05c59f35b
commit 84504c7471
44 changed files with 335 additions and 480 deletions

View file

@ -1092,9 +1092,9 @@ retry_with_limit:
if (!parse_as_utf8(tag, &bytesread))
{
/* UTF-8 could potentially be 4 times larger */
/* UTF-8 could potentially be 3 times larger */
/* so we need to create a new buffer */
int utf8_size = (4 * bytesread);
int utf8_size = (3 * bytesread);
if (utf8_size > ID3V2_BUF_SIZE)
{
//limit stack allocation to avoid stack overflow