// nonLossyASCII > utf8 func enc(_ inputStr:String) -> String{ let data = inputStr.data(using: .nonLossyASCII, allowLossyConversion: true)! if let outputStr = String(data: data, encoding: .utf8){ return outputStr } else{ print("Encoding Failed") return "" } } // utf8 > nonLossyASCII func dec(_ inputStr:String) -> String{ let data = inputStr.data(using: .utf8)! if let outputStr = String(data: dat..