code: public static final String getSampleString(int script) {
          int sampleChar = ScriptMetadata.getScriptProps(script) & 0x1fffff;
          if(sampleChar != 0) {
              return new StringBuilder().appendCodePoint(sampleChar).toString();
          }
          return "";
      }
docs: Returns the script sample character string.
  This string normally consists of one code point but might be longer.
  The string is empty if the script is not encoded.
  
  @param script script code
  @return the sample character string