code: @Override
  	public void generateDomain() {
  		if (domain != null) {
  			return;
  		}
  
  		String host = TextUtils.stripAccents(StringUtils.strip(StringUtils.deleteWhitespace(name.toLowerCase()), ".").replace("/", ""));
  		int len1 = host.length();
  		host = StringEscapeUtils.escapeJava(host).replaceAll("\\\\u", "");
  		int len2 = host.length();
  		if (len2 > len1 && len2 > 10)
  			host = host.substring(0, 10);
  
  		domain = host + "." + dataMaster.getRandomValue(DOMAIN);
  	}
docs: In case of the illegal hostname characters in company name
  and truncate it if it is too long (length &gt; 10) after escape
  
  It is compatible with other non-latin language and will not change the original result for latin language.
  
  P.S. Actually the best way for Chinese here is to use phonetic writing (so as Japanese or Korean)