Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Java (http://www.programmingforums.org/forum17.html)
-   -   Encoding ISO-8859-1 (http://www.programmingforums.org/showthread.php?t=12830)

public2 Mar 16th, 2007 5:04 AM

Encoding ISO-8859-1
 
Hi everyone.

I'm currently working on a small MUD text-based program. The output text should be printed with the ISO standard 8859-1, which support some of the Danish characters (זרו).

I don't know and can't seem to find the solutions to the problem in Java doc/API and how the encoding code has to be written.

In Python I know it is:
:

# -*- coding: iso-8859-1 -*-

Is there similar codes I can enter in my Java outConsole class, so it will print the right characters?

Greeting
\\ Public2


All times are GMT -5. The time now is 2:05 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC