Knowledge Repository

Tuesday, August 31, 2010

How to change the encoding of a java String

String newStr = new String(someString.getBytes("UTF-8"));
Posted by MSD.Salehi at 08:54

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Search This Blog

Archives

  • ►  2015 (2)
    • ►  March (1)
    • ►  February (1)
  • ►  2013 (12)
    • ►  December (1)
    • ►  November (2)
    • ►  August (1)
    • ►  May (6)
    • ►  February (1)
    • ►  January (1)
  • ►  2012 (15)
    • ►  December (1)
    • ►  September (2)
    • ►  June (6)
    • ►  May (5)
    • ►  April (1)
  • ►  2011 (5)
    • ►  September (1)
    • ►  July (2)
    • ►  May (1)
    • ►  February (1)
  • ▼  2010 (34)
    • ►  December (1)
    • ►  October (1)
    • ►  September (1)
    • ▼  August (16)
      • How to parse a PDF
      • How to change the encoding of a java String
      • JAVA -- write a java.sql.blob to File
      • JDBC -- Inserting binary data
      • Important matter in indexing --> Solr
      • index-time-boosting while posting an xml to solr
      • The OSGi Architecture
      • How to deploy Solr on Tomcat
      • Java Message Service API (the JMS API)
      • The Java Management Extensions (JMX) API
      • tutorial for starting Spring Roo
      • how to prevent lack of memory while executing larg...
      • Software versioning
      • Apache Incubator
      • Spring Roo
      • Convention over configuration
    • ►  July (2)
    • ►  June (10)
    • ►  April (2)
    • ►  February (1)
  • ►  2009 (1)
    • ►  February (1)
  • Home
  • Profile

My Blog List

Watermark theme. Powered by Blogger.