Flex: fixed processing backslashes in strings
Flex: add fallback for invalid characters
Flex: typo