Per "9.3.3 Word Spacing", raw chars data must be used for comparison with 0x20:

"Word spacing shall be applied to every occurrence of the single-byte character code 32 in a string when using a simple font or a composite font that defines code 32 as a single-byte code. It shall not apply to occurrences of the byte value 32 in multiple-byte codes."