String (or Text) is the correct type for tags (e.g. spaces are allowed) but they must be
properly encoded in the query string or notmuch will interpret it as multiple subterms.
The correct encoding is to utf-8 encode, then hex-encode all non-printable characters,
as well as SPACE and DOUBLEQUOTE.
String
(orText
) is the correct type for tags (e.g. spaces are allowed) but they must be properly encoded in the query string or notmuch will interpret it as multiple subterms.The correct encoding is to utf-8 encode, then hex-encode all non-printable characters, as well as SPACE and DOUBLEQUOTE.