public Encoding getEncoding() {
    return encoding;
  }
@Test
  public void testAsciiEncoding() {
    MetaStringEncoder encoder = new MetaStringEncoder('_', '$');
    String testString = "asciiOnly";
    MetaString encodedMetaString = encoder.encode(testString);
    assertNotSame(encodedMetaString.getEncoding(), MetaString.Encoding.UTF_8);
    assertEquals(encodedMetaString.getEncoding(), MetaString.Encoding.ALL_TO_LOWER_SPECIAL);
  }