Added TranslatePlaceholderCP before Wide2AnsiMoveProc call. In the fpc_setstring_ansistr_pwidechar procedure, before calling Wide2AnsiMoveProc, the translation cp = 0 to the DefaultSystemCodePage has been added. Note: In all other places such translation is present.