Fix: ö/ò in DINOBYTE vertauscht, quad_net-Plugin-Fehler im Browser abgefangen

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Richard ZinkandClaude Opus 5.5 committed 2026-11-02 22:20:24 +01:00
1 parent db417b3af8
commit b4b4fea45b
2 files changed
+7

No files matched your search

+6
View File
@@ -56,6 +56,12 @@ const CP437_LOW: &str = " ☺☻♥♦♣♠•◘○◙♂♀♪♫☼►◄↕
const CP437_HIGH: &str = "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■\u{a0}";
pub fn cp437(ch: char) -> u8 {
// In DINOBYTE sind ö (0x94) und ò (0x95) vertauscht
match ch {
'ö' => return 0x95,
'ò' => return 0x94,
_ => {}
}
let u = ch as u32;
if (32..127).contains(&u) {
return u as u8;