[MDEV-29543] Windows: Unreadable dlerror() message on localized OS Created: 2022-09-15  Updated: 2022-09-15  Resolved: 2022-09-15

Status: Closed
Project: MariaDB Server
Component/s: Plugins, Server
Affects Version/s: 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9
Fix Version/s: 10.3.37, 10.4.27, 10.5.18, 10.6.10, 10.7.6, 10.8.5, 10.9.3, 10.10.2, 10.11.0

Type: Bug Priority: Major
Reporter: Vladislav Vaintroub Assignee: Vladislav Vaintroub
Resolution: Fixed Votes: 0
Labels: None


 Description   

Reported by oleg.smirnov some time ago, on Russian Windows.

The error message on localized Windows appears unreadable, as it is encoded in different encoding (Windows ANSI) than the charset specified by client or by server.

The result look like this.

2022-08-05 14:47:31 0 [ERROR] mysqld.exe: Can't open shared library 'C:\MariaDB\10.4\server\bld\sql\lib\plugin\ha_federatedx.dll' (errno: 2, ?? ?????? ????????? ??????.)

Windows error 2 is "file not found", but the message does not really convey it


Generated at Thu Feb 08 10:09:25 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.