nickorr/BaseElements-Plugin — pull request #50 by harawata (2013-12-09 16:33:46+00:00)
Title: BE_MessageDigest returns incorrect result when input contains Japanese characters

Japanese characters require three or four bytes in UTF-8, so the buffer size should be (text length * 4 + 1).
Please let me know if I should add a new test case to _BaseElements Plugin Tests.fmp12_.

And thank you for releasing a useful plugin under permissive license!

p.s.
Actually, it seems that ```(3*(raw_data->GetSize())) + 1``` works fine because the fmx::Text->GetSize() returns 2 for a character which requires four bytes in UTF-8 (at least on Mac OS X 10.9), but I am not sure if it's a bug or a designed behavior.