NimbusKit / markdown

A Markdown NSAttributedString parser.
Apache License 2.0
657 stars 64 forks source link

Fixed issue with multi byte special characters #13

Closed Sebruck closed 10 years ago

Sebruck commented 10 years ago

If you have characters like "äöüß" in your text it would calculate the length wrong. Use [NSString lengthOfBytesUsingEncoding:NSUTF8StringEncoding], it does everything you need.

dzenbot commented 10 years ago

+1

benjaminburzan commented 10 years ago

+1

jverkoey commented 10 years ago

Thanks!

Sebruck commented 10 years ago

awesome, thank you!