theiconic / name-parser

A universal, language-independent name parser PHP library
MIT License
123 stars 29 forks source link

Multibyte special character messes up initials #36

Open rvanlaak opened 4 years ago

rvanlaak commented 4 years ago

We parsed the author name from a page, where the input name is © Pavel Voinau.

Expected result

not return an initials, return null as initials

Actual result

When dumping the value, name-parser exports "Â ©"

image

How to fix

rvanlaak commented 4 years ago

see draft https://github.com/theiconic/name-parser/pull/37