Инструменты пользователя

Инструменты сайта


en:tcmediainfo:documentation:script_fixcp

FixCodepage

A special function that generates a list of fields to which encoding fix will be applied when Get and LineAddField are called.

FixCodepage(FieldID1 [, FieldID2 .. [, FieldIDN]])
FieldID1..NList of Field ID's, that should be fixed.

Function not return values.

Remarks

For more information on the cause of the problem and limitations, see the Fixing codepage section.

Each function call generates the list of fields anew.

Only use it for fields that can return wrongly encoded text (usually title, author etc.). Function should be called at beginning of script, before those fields will be retrieved, function work till the end of script execution.

:i: The operation of the function depends on the presence and value of the FixTagEncoding option.

en/tcmediainfo/documentation/script_fixcp.txt · Последнее изменение: 2025/07/01 22:33 — loopback

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki