URL encoder (Percent-encoding, escape) with charset.

URL encoder with charset conversion

     There are a lot of samples of online URL encoder on Internet, but I find no one URL encoder which I can specify a destination charset for the URL encoded data. I'm working in Czech, so many times I need URL encode to windows-1250 or iso-8859-2 charsets.

     Within this sample, you can specify any text in Unicode (utf-8), specify destination charset and you will receive the data URL Encoded with specific charset according to you codepage. This script will also convert the URL to utf-8,ibm850,windows-1250,windows-1251,iso-8859-2,macintosh,iso-8859-5,iso-8859-1,ibm852,ibm866,utf-7,shift_jis charsets by default.

     See also online URL encoder with charset.

Try it:
   kůň München âges Español Français Português
   Trzęsienie jämföra лошадь 日本語 áčďéěíľňóťúůž

      This is online sample of a CharSet poperty of ByteArray object. The Form.SizeLimit is 10000bytes. Please, do not post more data using this form.
Source unicode text:
  or select a file to do urlencode:
  You can select destination character set: (see ConvertCodePages):
utf-8, len:11
ibm850, len:10
windows-1250, len:10
windows-1251, len:10
iso-8859-2, len:10
macintosh, len:10
iso-8859-5, len:10
iso-8859-1, len:10
ibm852, len:10
ibm866, len:10
utf-7, len:14
shift_jis, len:10

      Related links

      Charset property
      ScriptUtilities ByteArray class
      Special JavaScript Escape function to iso-8859-2
      Percent-encoding at Wikipedia

      Another online samples (utilities, converting, upload)

      On-line base64 decoder and encoder - let's you convert text data and files from/to a Base64 string.
      Punycode/IDN decoder and encoder - online conversion between unicode (utf-8), punycode and IDNs (Internationalized Domain Names)
      URL Encoder, escape with charset conversion
      URL Decoder, unescape with charset conversion
      Online binary file to SQL field (HexString or base16) - let's you create an SQL statement to insert/update binary or a text file to a SQL database field. You can also create whole WSH (VBScript) to do the action.
      Online Codepage & Charset text and file converter - let's you convert text, html and files between many code pages.
      Live upload with progress sample - simple upload of files to ASP with progress bar.
      Live upload with image preview - Upload with many additional features: image preview, size preview and file type checking (before upload), server-side checking for file type, file contents, file size and upload size and more.
      IAF password recovery - Recovery passwords from your IAF File.
      Online IAF file generator - Create email account configuration file for Outlook express online.
      Online IAF decoder - Decode IAF configuration files online.
      Gmail pop and smtp configuration generator - Outlook config for Gmail.
      quoted-printable encoder online sample.
      quoted-printable decoder online sample.
 © 1996 - 2024 Antonin Foller, Motobit Software