我有這樣的字符串: - Hi, Jax\ud83d\ude1b\ud83d\ude44! can we go for a coffee?
現在,表情符號是UTF16(我認爲)。我需要提取'\ud83d\ude1b\ud83d\ude44',並在每對之間留出空間,像這樣。 Hi, Jax\ud83d\ude1b \ud83d\ude44! can we go for a coffee?
我該
StringBuilder builder = new StringBuilder();
builder.Append(" \(Nested \(parentheses\) dont need a backslash.\) \(But a single \\(parenthe)");
for(int i=0;i<builder.Length;i++)
{
if(data[i] ==
I E(E S)U Už 我在,我有發送電子郵件,並在主題立陶宛語立陶宛語項目。 我用: $headers = 'Content-Type: text/html; charset=UTF-8';
除此之外我也用: charset=win-1257 along with utf-8
和這樣的代碼 mail($to,"=?UTF-8?B?".base64_encode($subject)."?