You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, the purpose of this function is to first encode the original string in UTF-7, and then convert it into an ASCII-compatible string. This is necessary because the IMAP protocol requires UTF-7 encoding.
@pjfanning This method is only used for the IMAP protocol, which can monitor QQ and NetEase email accounts. If you encounter any issues while using it, welcome to point them out.
Is there an existing issue for this?
Current Behavior
hertzbeat/hertzbeat-collector/hertzbeat-collector-common/src/main/java/org/apache/hertzbeat/collector/util/CollectUtil.java
Lines 458 to 478 in 428ae1f
UTF-7 is also obsolete - https://en.wikipedia.org/wiki/UTF-7
Expected Behavior
Are you just trying to remove non-ASCII chars from a String - maybe this might be an approach.
https://stackoverflow.com/questions/8519669/how-can-non-ascii-characters-be-removed-from-a-string
Steps To Reproduce
No response
Environment
Debug logs
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: