取消
显示结果 
搜索替代 
您的意思是: 
cancel
1458
查看次数
1
有帮助
1
评论
cheqie
Cisco Employee
Cisco Employee
 
在一些场景下,用户需要通过BAT 批量更改用户或者电话中文信息,但是在更改文件上传之后显示的中文为乱码
 
如图:
cheqie_0-1682499841479.png

显示乱码的语音是因为文件的编码格式不是UTF-8

参考的文档如下

Cisco recommends uploading Text-Based CSV files saved in the UTF-8 format only, as characters other than ASCII characters can be stored in this format. Using a text editor, such as Notepad++, you can select encoding as UTF-8 without Byte Order Mark (BOM) from the Encoding drop-down. Text-Based CSV files saved in formats other than UTF-8 may render garbled when downloaded from Cisco Unified Communications Manager.

https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/bat/12_0_1/cucm_b_bulk-administration-guide-1201/cucm_b_bulk-administration-guide-1201_appendix_01010001.html

  • 导出您想更改的txt 文件
  • 将名字改成.csv,并用EXCEL打开
  • 打开之后更改对应的中文选项,如下更改的是display name
 
 
cheqie_8-1682500952420.png

保存为CSV UTF-8 格式

 
 
cheqie_9-1682500998590.png

note pad ++ 打开相应的CSV,验证文件的格式,使用UTF-8查看,UTF-8下会显示中文

上传验证如图

 
cheqie_10-1682501034757.png
cheqie_11-1682501065886.png

 

评论
Yanli Sun
Community Manager
Community Manager

感谢专家分享

入门指南

使用上面的搜索栏输入关键字、短语或问题,搜索问题的答案。

我们希望您在这里的旅程尽可能顺利,因此这里有一些链接可以帮助您快速熟悉思科社区:









快捷链接