[X] Exporting NOT defaulting to UTF-8 when $filename() omitted


#1
Hello Florian,

Files are encoded to UTF-8 by default (regardless of "BOM"—utf-8 signature— setting) only if stating
$filename(name) while omitting the second parameter.
If the $filename statement is not present, encoding defaults to the current ACP.

Example setup:
$loop(%_path%)%artist% %title
%$loopend()
=> ANSI

$filename(txt)$loop(%_path%)%artist% %title
%$loopend()
=> UTF-8

$filename(,utf-8)$loop(%_path%)%artist% %title
%$loopend()
=> UTF-8

Reproduced in 2.36d and 2.36h, Japanese (CP932) system locale.

=======================================================================
=========
Mp3tag v2.36d - 02.11.2006 - 15:31:31
--------------------------------------------------------------------------------
OS-Version: Windows XP Service Pack 2 (Build 2600)
--------------------------------------------------------------------------------
Build: Jul  6 2006 21:53:47
--------------------------------------------------------------------------------
AppPath:  1.582.252.032 Bytes frei (C:\Program Files\Mp3tag\)
DataPath: 1.582.252.032 Bytes frei (C:\Documents and Settings\Rasqual\Application Data\Mp3tag\data\)
TempPath: 1.582.252.032 Bytes frei (C:\DOCUME~1\Rasqual\Temp\Mp3tag v2.36d\)
================================================================================

Regards,
Rasqual