Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

encode url parameter

Posted on 2014-01-31
1
Medium Priority
?
299 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 2000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Suggested Courses

971 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