use of org.eclipse.wst.html.core.internal.contenttype.HTMLResourceEncodingDetector in project webtools.sourceediting by eclipse.
the class HTMLEncodingTests method testNormalNonDefault.
public void testNormalNonDefault() throws IOException {
String filename = fileLocation + "NormalNonDefault.html";
String ianaInFile = "UTF-8";
doTestFileStream(filename, ianaInFile, new HTMLResourceEncodingDetector());
}
use of org.eclipse.wst.html.core.internal.contenttype.HTMLResourceEncodingDetector in project webtools.sourceediting by eclipse.
the class HTMLEncodingTests method testnoquotes.
public void testnoquotes() throws IOException {
String filename = fileLocation + "noquotes.html";
doTestFileStream(filename, "UTF-8", new HTMLResourceEncodingDetector());
}
use of org.eclipse.wst.html.core.internal.contenttype.HTMLResourceEncodingDetector in project webtools.sourceediting by eclipse.
the class HTMLEncodingTests method testUTF16LENoQuotes.
public void testUTF16LENoQuotes() throws IOException {
String filename = fileLocation + "noquotesUTF16le.html";
doTestFileStream(filename, "UTF-16LE", new HTMLResourceEncodingDetector());
}
use of org.eclipse.wst.html.core.internal.contenttype.HTMLResourceEncodingDetector in project webtools.sourceediting by eclipse.
the class HTMLEncodingTests method testUTF16BOM.
public void testUTF16BOM() throws IOException {
String filename = this.fileLocation + "utf16BOM.html";
doTestFileStream(filename, "UTF-16", new HTMLResourceEncodingDetector());
}
use of org.eclipse.wst.html.core.internal.contenttype.HTMLResourceEncodingDetector in project webtools.sourceediting by eclipse.
the class HTMLEncodingTests method testUTF16BE.
public void testUTF16BE() throws IOException {
String filename = fileLocation + "utf16be.html";
doTestFileStream(filename, "UTF-16BE", new HTMLResourceEncodingDetector());
}
Aggregations