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. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________