Skip to content

@show imε output #66

@cnaak

Description

@cnaak

I noticed, in Julia 1.0.0, the following:

julia> @show imε;
imε = imɛ

The output produced by the @show macro uses 2 different characters for the epsilon: first, U+03b5 and then the correct U+02b5 (in some fonts the difference between ε and ɛ is very noticeable):

julia> for i in "imε = imɛ"; display(i); end
'i': ASCII/Unicode U+0069 (category Ll: Letter, lowercase)
'm': ASCII/Unicode U+006d (category Ll: Letter, lowercase)
'ε': Unicode U+03b5 (category Ll: Letter, lowercase)
' ': ASCII/Unicode U+0020 (category Zs: Separator, space)
'=': ASCII/Unicode U+003d (category Sm: Symbol, math)
' ': ASCII/Unicode U+0020 (category Zs: Separator, space)
'i': ASCII/Unicode U+0069 (category Ll: Letter, lowercase)
'm': ASCII/Unicode U+006d (category Ll: Letter, lowercase)
'ɛ': Unicode U+025b (category Ll: Letter, lowercase)

Any ideas of why this is so and how to fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions