Temporarily revert the changes on the charset of shortenUrl to find another solution

This reverts commit bedb0fab812969d78bd122304a284da47d097393.