]> git.lizzy.rs Git - minetest.git/commit
Drop wide/narrow conversion functions
authorsfan5 <sfan5@live.de>
Fri, 29 Jan 2021 13:03:27 +0000 (14:03 +0100)
committersfan5 <sfan5@live.de>
Tue, 2 Feb 2021 19:46:08 +0000 (20:46 +0100)
commitc834d2ab25694ef2d67dc24f85f304269d202c8e
treec62a57d0cdbca950b9c7cb1a58666b6b77760bc2
parent5e392cf34f8e062dd0533619921223656e32598a
Drop wide/narrow conversion functions

The only valid usecase for these is interfacing with OS APIs
that want a locale/OS-specific multibyte encoding.
But they weren't used for that anywhere, instead UTF-8 is pretty
much assumed when it comes to that.
Since these are only a potential source of bugs and do not fulfil
their purpose at all, drop them entirely.
src/chat.cpp
src/client/client.cpp
src/client/keycode.cpp
src/gui/guiConfirmRegistration.cpp
src/network/serverpackethandler.cpp
src/script/lua_api/l_server.cpp
src/server.cpp
src/server.h
src/unittest/test_utilities.cpp
src/util/string.cpp
src/util/string.h