alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

package testUTF8;
/**
 * <B>Farsi / Persian: .من می توانم بدون احساس درد شيشه بخورم 
 * <B>Russian: В чащах юга жил-был цитру? Да, но фальшивый кземплр! 
 * <B>Hungarian: rvíztűrő tükörfúrógép. 
 * <B>Spanish: El pingüino Wenceslao hizo kilómetros bajo exhaustiva 
 *  lluvia y frío, añoraba a su querido cachorro. 
 * <B>French: Les naïfs ægithales hâtifs pondant à Noël où il gèle sont 
 *  sûrs d'être déçus et de voir leurs drôles d'œufs abîmés. </B>
 * <B>Esperanto: Eĥoano ĉiuĵaŭde. 
 */
public class Test {
	public static void main(String[] args) {
		System.out.println("Some sentences using UTF-8 encoded characters:");
		System.out.println("Farsi / Persian</B>: .من می توانم بدون احساس درد شيشه بخورم");
		System.out.println("Russian:</B> В чащах юга жил-был цитру? Да, но фальшивый кземплр!");
		System.out.println("Hungarian:</B> rvíztűrő tükörfúrógép.");
		System.out.println("Spanish:</B> El pingüino Wenceslao hizo kilómetros bajo exhaustiva lluvia y frío, añoraba a su querido cachorro.");
		System.out.println("French:</B> Les naïfs ægithales hâtifs pondant à Noël où il gèle sont  sûrs d'être déçus et de voir leurs drôles d'œufs abîmés.");
		System.out.println("Esperanto:</B> Eĥoano ĉiuĵaŭde. ");
	}
}
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.