Contains the definitions for Unicode-based conversion methods. More...
#include "tsk_base.h"
Contains the definitions for Unicode-based conversion methods.
Enumerator | |
---|---|
TSKstrictConversion |
Error if invalid surrogate pairs are found. |
TSKlenientConversion |
Ignore invalid surrogate pairs. |
Enumerator | |
---|---|
TSKconversionOK |
conversion successful |
TSKsourceExhausted |
partial character in source, but hit end |
TSKtargetExhausted |
insuff. room in target for conversion |
TSKsourceIllegal |
source sequence is illegal/malformed |
Cleans up the passed in string to replace invalid UTF-16 values with the passed in character.
Cleans up the passed in string to replace invalid UTF-8 values with the passed in character.
Copyright © 2007-2020 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.