Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用此代码将数据保存在文件中。保存在文件中的数据是????????. 请帮助我找到合适的解决方案。
????????
File gpxfile = new File(activate, "activate.csv"); OutputStreamWriter writer = new OutputStreamWriter(new FileOutputStream(gpxfile),"UTF-8"); writer.write(merchantId);
这个对我有用。确保merchantId包含有效Hindi的 . 例如:
merchantId
Hindi
String str = "मानक हिन्दी"; writer.write(str);