Unknown encoding in QR codes happens when a scanner app can't recognise the character set used to store data inside the code. To fix it, identify the encoding mode (numeric, alphanumeric, binary, or Kanji), switch to a UTF-8-compatible scanner, regenerate the code with a standard encoding, and increase the error