Skip to contents

The RegCheck server converts submitted text to PDF with a latin-1-only library, so any character outside latin-1 (Greek letters, typographic quotes, math symbols) crashes the comparison worker. This transliterates the symbols common in scientific text to readable latin-1 equivalents (e.g. the Greek letter alpha becomes "alpha", typographic quotes become straight quotes) and strips anything else that cannot be represented.

Usage

.regcheck_sanitize(text)

Arguments

text

a character string

Value

the text with only latin-1-safe characters