Okay, gonna rewrite the functions to only use unsafe to circumvent the utf8 checks.