Last change
on this file was
193,
checked in by Maciej Komosinski, 10 years ago
|
Set svn:eol-style native for all textual files
|
-
Property svn:eol-style set to
native
|
File size:
472 bytes
|
Rev | Line | |
---|
[85] | 1 | package com.framsticks.util.io; |
---|
| 2 | |
---|
| 3 | import java.nio.charset.Charset; |
---|
| 4 | |
---|
| 5 | public final class Encoding { |
---|
| 6 | |
---|
| 7 | protected static final Charset defaultCharset = Charset.forName("UTF-8"); |
---|
| 8 | |
---|
[97] | 9 | protected static final Charset framsticksCharset = Charset.forName("UTF-8"); |
---|
| 10 | //Charset.forName("ISO-8859-1"); |
---|
[85] | 11 | |
---|
| 12 | |
---|
| 13 | protected Encoding() { |
---|
| 14 | } |
---|
| 15 | |
---|
| 16 | public static Charset getFramsticksCharset() { |
---|
| 17 | return framsticksCharset; |
---|
| 18 | } |
---|
| 19 | |
---|
| 20 | public static Charset getDefaultCharset() { |
---|
| 21 | return defaultCharset; |
---|
| 22 | } |
---|
| 23 | |
---|
| 24 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.