Mojibaking on the uplaoader (3)

1 Name: Nameless : 2026/05/21 07:22

Mojibake is happening on the uploader, as you can see from https://world2ch.net/uploader/src/216.lua
The provided alternates should look a little like:

--[[
-- Alternate names and units. Japanese shakkanhou chou, and Japanese kanji names provided.
["unit"] = {
["name"] = "町", -- Display name
["conversion"] = 11/1200, -- Meters * This -> Unit
["precision"] = 1, -- Decimal
},
["name"] = {
["Sapporo"] = "札幌 (Sapporo)",
["Hakodate"] = "函館 (Hakodate)",
["Fukushima"] = "福島 (Fukushima)",
["Oi"] = "大井 (Oi)",
["Kokura"] = "小倉 (Kokura)",
["Hanshin"] = "阪神 (Hanshin)",
["Kyoto"] = "京都 (Kyoto)",
["Chukyo"] = "中京 (Chukyo)",
["Nakayama"] = "中山 (Nakayama)",
["Tokyo"] = "東京 (Tokyo)",
["Niigata"] = "新潟 (Niigata)",
},]]

If the script is producing an HTML page to serve text files, you should probably add <meta charset="UTF-8"> to the page.

2 Name: Nameless : 2026/05/21 07:58

The uploader isn't generating any HTML, and I'm pretty sure there's no way to do that without adding an extra link to download the unmodified file

You can however change your browser's fallback character encoding, in Pale Moon you would set "intl.charset.fallback.override" to "UTF-8" in about:config

3 Name: Nameless : 2026/05/21 08:09

Okay, look into trying to set the HTTP header for text files then? The header required to tell the browser that the file is unicode is
Content-Type: text/plain; charset=UTF-8

Name: E-Mail:
Leave these fields empty (spam trap):