Changeset 6650 in josm for trunk/src/org/openstreetmap/josm/io/UTFInputStreamReader.java
- Timestamp:
- 2014-01-06T19:21:52+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/UTFInputStreamReader.java
r6362 r6650 14 14 15 15 /** 16 * converts input stream to reader 16 * Creates a new {@link InputStreamReader} from the {@link InputStream} with UTF-8 as default encoding. 17 * @return A reader with the correct encoding. Starts to read after the BOM. 18 * @see #create(java.io.InputStream, String) 19 */ 20 public static UTFInputStreamReader create(InputStream input) throws IOException { 21 return create(input, "UTF-8"); 22 } 23 24 /** 25 * Creates a new {@link InputStreamReader} from the {@link InputStream}. 17 26 * @param defaultEncoding Used, when no BOM was recognized. Can be null. 18 27 * @return A reader with the correct encoding. Starts to read after the BOM.
Note:
See TracChangeset
for help on using the changeset viewer.