Obviously you would pass %2C instead of a comma. This IS the uri standard. It is the fault of Internet Explorer and other browsers for relaxing this restriction and allowing their plain use.
Take for example your own post and how UBBThreads failed to underline it completely.
http://dictionary.reference.com/search?q=test%2ctest