Class FakerIDN


  • public class FakerIDN
    extends java.lang.Object
    Created by tshick on 10/30/16.
    • Constructor Summary

      Constructors 
      Constructor Description
      FakerIDN()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String toASCII​(java.lang.String in)
      IDN.toASCII(String) is too picky for our needs.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FakerIDN

        public FakerIDN()
    • Method Detail

      • toASCII

        public static final java.lang.String toASCII​(java.lang.String in)
        IDN.toASCII(String) is too picky for our needs. It was throwing exceptions for fa.yml and he.yml as they're Bidi languages and something was causing them to die. This is kind of a brute force fix but it appears to fix the issue.