• Acolyte of the Butterfly
    Acolyte of the Butterfly
    walkero
    Posts: 102 from 2006/3/1
    @Piru
    I decided to use calloc, so to clear the allocated memory as well. Also, I decided to calculate the output length based on GetByteSize() and not GetLength(), since, if I get it right, it gets in consideration the target encoding and that is quite useful when the characters are multibyte, like the UTF-8.

    Now my app is able to encode the text in other encodings and also open any file with different encodings. Quite useful for a code editor.

    I hope to have soon a new release.

    Thank you guys again for your help.
  • »23.02.24 - 20:41
    Profile Visit Website