Bug #84679 world.inc has wrong encoding
Submitted: 26 Jan 2017 7:35 Modified: 26 Jan 2017 15:14
Reporter: Tor Didriksen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Charsets Severity:S3 (Non-critical)
Version:8.0.1 OS:Any
Assigned to: CPU Architecture:Any

[26 Jan 2017 7:35] Tor Didriksen
Description:
world.inc has a mix of windows-1251 and utf8 encoding.
All tests using this file have wrong .result files.

Discovered during analysis of WL#10300

How to repeat:
Look at the file contents, and encodings here:
https://en.wikipedia.org/wiki/Windows-1252

Suggested fix:
iconv -f utf8 -t latin1       world.inc -o yy.yy
iconv -f windows-1252 -t utf8 yy.yy     -o zz.zz
mv zz.zz world.inc

./mtr --mem --record main.join_cache_bka
./mtr --mem --record main.join_cache_bka_nixbnl
./mtr --mem --record main.join_cache_bkaunique
./mtr --mem --record main.join_cache_bnl
./mtr --mem --record main.join_cache_nojb
[26 Jan 2017 15:14] Paul DuBois
Posted by developer:
 
Fixed in 8.0.1.

Work was done for test suite. No changelog entry needed.