![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Henning Hraban Ramm wrote:
Am 2007-10-02 um 14:27 schrieb Dalyoung Jeong:
if not md5.HEX then function md5.HEX(str) return convert(str,"% 02X") end end if not md5.hex then function md5.hex(str) return convert(str,"% 02x") end end if not md5.dec then function md5.dec(str) return convert(stt,"% 03i") end end
I don't really know Lua, but "stt" looks like an error (maybe Dalyoung's?), and if Lua makes a difference between unicode and byte strings, the usage of "str" would explain problems with Korean directory names or the like.
whow, pretty good close reading, should be str indeed! this also points into the direction of a missing md5 lib; is texlua used? Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------