Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

any methods for ANSI/escape characters in Java ?

  Asked By: Thomas    Date: Jan 30    Category: Java    Views: 1817
  

I am trying to find something... Are there any methods in a Java package
somewhere that can take a string and turn the characters to escape coding like I
found on this page here:
ftp://dkuug.dk/i18n/WG15-collection/charmaps/ANSI_X3.4-1968

For example, in JavaScript, this code-->>

<script>document.write(unescape("%68%74%74%70%3A%2F%2F"))</script>

would produce the results -->> http://

on a webpage.

Are there Java methods that are similiar to the escape() and unescape()
functions in JavaScript? I have found URLEncoder and URLDecoder but it says
that "The alphanumeric characters "a" through "z", "A" through "Z" and "0"
through "9" remain the same." while using these methods. I want to use a method
that Encodes everything, or at least "a" through "z" into escape characters.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on any methods for ANSI/escape characters in Java ? Or get search suggestion and latest updates.




Tagged: