# Lossy Encode as (Deprecated)

This statement has been deprecated. You should use the Re-Encode statement as an alternative.

This statement does a lossy encoding of the contents of the specified field or named variable to ASCII or Latin 1 (ISO-8859-1).

Note that it is possible that the resultant data can have missing characters if there was no way to convert them to the specified encoding.

Some devices cannot play m3u8 playlist files which are m3u files which contain Unicode characters. If your playlist is being saved as m3u8, you can use this function to determine which tracks cannot be saved in an m3u file by encoding the file path as Latin-1 and checking for changes.

The supplied text fields may contain any of the escape sequences described in Escape Sequences

Note that the source and destination must both be fields or named variables. When named variables are used and the execution mode is stepwise, the statement is only executed once.