2012-03-26 28 views
0

我想要在字符串中獲取貨幣符號的Unicode表示形式。如何轉換的貨幣符號串在下面java在字符串中將貨幣符號更改爲unicode十六進制

The woman had a $500 handbag, but sold it for ₦13,000 to a Nigerian lady. 

要:

The woman had a \ufdfc500 handbag, but sold it for \u20a613,000 to a Nigerian lady. 

感謝

編輯

我想通了。由於

+0

什麼是你的解決方案? – Robbie 2012-03-26 22:43:48

回答

0

也許我誤解的問題,但我認爲你要尋找的是String.ReplaceAll()(API Link

相關問題