私はこのC#コードブロックに相当するjQuery(またはjQueryプラグイン)を探しています。それは、iso-8859-1文字セット内のbase64文字列に文字列をエンコードすることです。jQueryの文字列を "iso-8859-1"エンコーディングする方法は?
string authInfo = "encrypted secret";
Encoding encoding = Encoding.GetEncoding("iso-8859-1");
byte[] authBytes = encoding.GetBytes(authInfo);
string encryptedMsg = Convert.ToBase64String(authBytes);
そこにはプラグインがありますか?