Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

package inputenc error : unicode character (U+2032)

Tags:

latex

I try to write some thing like the following in latex: "Q" the value of this are(5.2 % , 76.3 %) and the range of "P" are (9.4 % ,55.3%) but I get this error package inputenc error : unicode character (U+2032) , any help?!

like image 548
oleva Avatar asked Sep 19 '20 14:09

oleva


People also ask

What is package Inputenc error?

An inputenc package error such as Invalid UTF-8 byte "96 means that some of the material in the input file does not follow the encoding scheme.

How do I add a Unicode character in LaTeX?

You can enter Unicode code-point values (the number associated with a character) using carets (^) followed by hexadecimal values. The values must use lowercase letters! The original version of TeX supported this for 255 characters.


1 Answers

The error shows the package inputenc finds a unicode character where it doesn't expect it. Likely the package expects a ASCII character. (It's kinda funny, as inputenc is actually used to convert different character encodings (including unicode) into the internal latex format. But you clearly have an error.)

Getting unicode characters in your text can happen when you are copy pasting code or text from another application into your latex file.

The unicode character U+2032 is for the prime (′) symbol. Replace it by the ASCII version (likely ' ). Latex processor doesn't like unicode. I don't know what editor you are using, so it is hard to say how to do it in your case.

Ps. You can get latex help on the Tex stack exchange

like image 58
JHBonarius Avatar answered Nov 06 '22 02:11

JHBonarius