Replacing unicode punctuation with ASCII approximations

后端 未结 6 962
梦谈多话
梦谈多话 2020-12-01 16:23

I am reading some text files in a Java program and would like to replace some Unicode characters with ASCII approximations. These files will eventually be broken into sente

6条回答
  •  粉色の甜心
    2020-12-01 16:31

    I found a pretty extensive table that maps Unicode punctuation to their closest ASCII equivalents.

    Here's more info: Map Symbols & Punctuation to ASCII.

提交回复
热议问题