|
From: | Markus Mützel |
Subject: | [Octave-bug-tracker] [bug #63930] fprintf writes incorrect characters when converting the encoding |
Date: | Sun, 2 Apr 2023 09:23:28 -0400 (EDT) |
Follow-up Comment #46, bug #63930 (project octave): The attached patch handles invalid UTF-8 better than the previous one and also fixes a couple of thinkos. Trying to get this correct for all cases isn't trivial. I removed one FIXME and added five new ones. I guess that is another proof for the 80-20 rule: It takes about 20% of the time to get something 80% right. But 80% of the time to get the last 20%. Anyway, I still think this patch is an improvement upon what we currently have because the remaining issues are in more niche cases compared to the more general issue before. Comments and testing is still appreciated. (file #54550) _______________________________________________________ Additional Item Attachment: File name: bug63930-incomplete-utf-8-v2.patch Size:4 KB <https://file.savannah.gnu.org/file/bug63930-incomplete-utf-8-v2.patch?file_id=54550> _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?63930> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |