The nul is necessary for the system to know where the string ends. Perl will automatically add an ASCII nul (1 byte) when converting from an SV* to a char*, but an UTF16LE nul (2 bytes) is needed here.
In reply to Re^3: Problems Opening file with Perl where path has UTF8
by ikegami
in thread Problems Opening file with Perl where path has UTF8
by lustyx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |