Let $f $ be a continuous function defined from $[0,1] $ to $[0,1] $ and
$A=\{x\in [0,1] \; : \; f (x)=x\} $.
We assume that
$$\forall (a,b)\in [0,1]^2 \;\;$$ $$a\ne b\implies \;\;\exists x\in [a,b] \;:\; x\notin A .$$
Could $A $ be uncountable?
With $f (x)=x|\sin (\frac {1}{x}) |$ for $x\ne 0$ and $f (0)=0$,
we have an example where $A $ is infinite and countable, but I have no example with $A$ uncountable.
The complement of $A$ is open and dense in $[0,1]$. Ignoring the endpoints, we can write it as countable union of countably many pairwise disjoint open intervals $(a_i,b_i)$, $i\in\Bbb N$. Given any such enumeration of pairwise disjoint open intervals, we can define $$f(x)=\begin{cases}(x-a_i)(b_i-x)+x&\text{if }x\in(a_i,b_i)\text{ for some }i\in\Bbb N\\x&\text{otherwise}\end{cases} $$ Then $f$ is continuous and has precisely the complement of the open intervals we started with (i.e., $A$) as its fix point set.
Now all you need to find is a suitable $A$, i.e., an uncountable closed subset of $[0,1]$ with dense complement. The Cantor set is a suitable example.
We could also make $f$ monotonous, or $C^\infty$ (or both). Just by replacing the interval-wise quadratics with something more suitable.