View source: R/utilityFunctions.R
| sanitize_mplus_text | R Documentation |
Mplus output occasionally contains non-UTF-8 bytes in echoed input blocks, especially when the source syntax was saved with a legacy single-byte encoding. Recover common encodings line-by-line so downstream regex and tokenization logic do not fail on invalid strings.
sanitize_mplus_text(text, filename = NA_character_)
text |
Character vector of file contents |
filename |
Optional filename used in warnings |
A UTF-8-safe character vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.