public Encoding getEncoding() {
    return encoding;
  }
@Test
  public void testNonAsciiEncoding() {
    MetaStringEncoder encoder = new MetaStringEncoder('_', '$');
    String testString = "こんにちは"; // Non-ASCII string
    MetaString encodedMetaString = encoder.encode(testString);
    assertEquals(encodedMetaString.getEncoding(), MetaString.Encoding.UTF_8);
  }