Skip to content

problem character for windows console #68

@flip111

Description

@flip111

┬À 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions