Bug #104365 'charmap' codec can't decode byte 0x9d in position Y: character
Submitted: 20 Jul 2021 11:51 Modified: 20 Jul 2021 12:01
Reporter: Pedro Pinheiro Email Updates:
Status: Verified Impact on me:
Category:MySQL Workbench: Administration Severity:S3 (Non-critical)
Version:8.0.26 OS:Any
Assigned to: CPU Architecture:Any

[20 Jul 2021 11:51] Pedro Pinheiro
While trying to open the configuration file(Server->option file), I get the error:

UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position Y: character maps to <undefined>

How to repeat:
In your my.ini add a comment like:

# you must specify a unique server ID for each replication server, in the
# range from 1 to 2^32 − 1. “Unique” means that each ID must be different


Then open the option file.

Suggested fix:
Those characters are valid and mysqld can deal with them,
Workbench should also allow it.
[20 Jul 2021 12:01] MySQL Verification Team
Hello Pedro,

Thank you for the report and feedback.
Verified described.

[8 Sep 2021 12:35] MySQL Verification Team
Bug #103332 marked as duplicate of this one.