Unified quoting of strings