Solved

encode url parameter

Posted on 2014-01-31
1
285 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Way to decrease size of apk file 9 104
ejb on wildfly 5 45
Print Rhino Java Array in Javascript 1 30
How to log java errors in tomcat 8 23
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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 will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

685 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