Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9249185
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T10:07:46+00:00 2026-06-18T10:07:46+00:00

I am having a problem with special character in javascript. I have a form

  • 0

I am having a problem with special character in javascript.
I have a form with a input text that has the following string:

10/10/2010

after a form.serialize(); I get this string as

10%2F10%2F2010

The ‘/’ character is converted to its ASCII code %2F.

I would be able to convert that using String.fromCharCode(ascii_code) but I have many inputs in my form so these string is somenthing like:

var=14&var=10%2F10%2F2010&var=10%2F10%2F2010&var=10%2F10%2F2010

Just an example to state that I would have to go through this string (“manually”) and find those value and convert it.

Is there any easy way to perform that conversion?
Strange thing because I did not have that problem before, I am not sure why this is happening now.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T10:07:47+00:00Added an answer on June 18, 2026 at 10:07 am

    I happens that way because that’s how it’s meant to be:

    The .serialize() method creates a text string in standard URL-encoded
    notation
    . It operates on a jQuery object representing a set of form
    elements.

    As far as I know, there’s no native jQuery function to unserialize but your post suggests you already got that and are only stuck in the URL-encoded strings:

    decodeURIComponent(encodedURI)
    Decodes a Uniform Resource Identifier (URI) component previously created by encodeURIComponent or
    by a similar routine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having some problem getting text with special characters (Swedish: åäö) from the database.
Im having a small problem with storage of special characters like quotes, double quotes
Im having problem in my UIscrollView ,this is what I have done: Whenever a
I'm having problem with datagrid view. I have attached an image with the code
hello I am having problem related to https:// . I have used FB.getLoginStatus(function(response) function
I have an iPhone app that will let users email some pre-determined text as
When dishing out HTML having a special character like half fraction <li>½ tsp salt</li>
I've build a random string generator but I'm having a problem whereby if I
I have a web site that uses local resources. The main text (so not
My <meta charset=utf-8> and I'm having special charcter problem html content on web server

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.