Solved

encode url parameter

Posted on 2014-01-31
1
281 Views
Last Modified: 2014-02-03
Hi,

I am looking at below example
http://www.avajava.com/tutorials/lessons/how-do-i-encode-url-parameters.html

I wonder why we always take utf8 as encoding as given in the example, What is special about utf8 cimpared to other encodings.
please advise
Any links resources ideas highly appreciated. Thanks in advance
0
Comment
Question by:gudii9
1 Comment
 
LVL 14

Accepted Solution

by:
CPColin earned 500 total points
ID: 39825467
UTF-8 is a widely supported character set that is good for general use. In fact, people who create software that conforms to the Java Language Specification are not allowed to call it "Java" unless it supports UTF-8, so it's guaranteed to be available any time you're using Java. That's about all there is to it.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Protect jar file - windows app 2 39
advertisement module in core php 4 148
eclipse java  build path 6 45
servlet  URL Rewriting 1 28
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now