Let $1_\mathbb{Q}$ be the indicator of the rational numbers. Is $1_\mathbb{Q}$ continuous almost everywhere?
From what I understand, this is not true. I would say that $1_\mathbb{Q}$ is continuous nowhere. But if I restrict the domain to $\mathbb{R}\setminus\mathbb{Q}$ (i.e. I remove a set of measure zero), then $1_\mathbb{Q} \equiv 0$ and is continuous. Some of the responses I've seen seem to consider this as being "continuous almost everywhere". For example: Measurability of almost everywhere continuous functions
Which definition is correct/standard?