March 20, 2022
https://issues.dlang.org/show_bug.cgi?id=22909

          Issue ID: 22909
           Summary: importC: u8 strings rejected by parser
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: ibuclaw@gdcproject.org

C11 6.4.5 String literals

string-literal:
    encoding-prefix(opt) " s-char-sequence(opt) "

encoding-prefix:
    u8
    u
    U
    L

6.4.5-4: A character string literal is a sequence of zero or more multibyte characters enclosed in double-quotes, as in "xyz". A UTF−8 string literal is the same, except prefixed by u8.

6.4.5-6: For UTF−8 string literals, the array elements have type char, and are initialized with the characters of the multibyte character sequence, as encoded in UTF−8.

--