Home  >  Q&A  >  body text

txt uses utf8 to store numbers, and java reads txt numbers with spaces in front of them.

excel ---> txt

txt ---> utf8 [The first column of txt is a number, such as: 15484]

   BufferedReader

java -----------------> txt, memory storage is [,1,5,4,8,4]

In this case, I cannot use Integer.parseInt() to convert it to int type

I hope experts can help answer the following reasons and how to solve them? ? ? ?

PHP中文网PHP中文网2702 days ago748

reply all(2)I'll reply

  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-05-27 17:42:37

    Try converting to a string array

    reply
    0
  • 迷茫

    迷茫2017-05-27 17:42:37

    Before asking questions, organize the questions and describe them clearly

    reply
    0
  • Cancelreply