The copytext proc is based on bytes, not characters. This has the effect of mangling any UTF-8 characters at the beginning or end.
Numbered Steps to Reproduce Problem:
1. Have string with UTF-8/multibyte charatcers
2. Copytext string, with the UTF-8 chars at the beginning or end
3. Get mangled characters
Code Snippet (if applicable) to Reproduce Problem:
world.log << copytext("ç", 1, 2)
Does the problem occur:
Every time? Or how often? Every time.
When does the problem NOT occur? When not using a multi-byte character.
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? It didn't occur in pre-513.
Workarounds: I don't know, use 512 or just don't copytext UTF-8?