HomePhabricator
Diffusion pexts 5b01aff339cc

- the UTFto* functions take an array of chars for the output, not an array

Description

  • the UTFto* functions take an array of chars for the output, not an array of pointers to chars
  • to avoid a buffer overflow, we must allocate one character more than the maximum output length (for the trailing \0 char)
  • some minor optimizations

Event Timeline