Based on ODBS standard, special characters are allowed in strings provided they are braced in { }. It is IMO difficult to clarify all aspects from the standard(see comments below this answer)
This is a what to do question rather than how to do: Is a key-values like PWD={Iam};password}; considered a valid case? Should the value be expected to parse to Iam};password ?
Once this is answered, one can look at more exotic cases like:
PWD={Iam};password} ;PWD={I am }; a password};PWD={I am } ; a password};