Sunday, 23 May 2021

JAVA UTF-8 encoding

Many times developers are stuck with issues where arabic / hebrew / chinese characters in their application either look as junk characters or ???????? in their Backend Java based applications. 


 Why Does this happen. 

 1) Application Encoding Settings. Make sure your application is set to use the right encoding mechanism. the most important. (UTF-8) For example :- setting default in encoding in Apache Velocity

 2) Validating JVM Encoding Sometimes servers like tomcat , jboss etc might need to be started with an additional parameter for encoding For Eg.
3) Making Sure your IDE has the right encoding settings.

AWS Certificate Manager - Import Certificate

How to import a certificate. Use Key Store Explorer to open the cert and export keypair in PEM format  This will save a file cert.pem. Make ...