ladybug
ladybug copied to clipboard
problem character for windows console
┬À
this gets printed in a windows console instead of ·
for https://github.com/raulfraile/ladybug/blob/master/src/Ladybug/Theme/Simple/SimpleTheme.php
Fix: '<f_tab> '.chr(250).' </f_tab>'
Related: http://stackoverflow.com/questions/388490/unicode-characters-in-windows-command-line-how
Note there are serious implementation bugs in Windows's code page 65001 support which will break many applications that rely on the C standard library IO methods, so this is very fragile. (Batch files also just stop working in 65001.) Unfortunately UTF-8 is a second-class citizen in Windows.