为什么xml文件写不了中文
来源:百度知道 编辑:UC知道 时间:2024/06/05 19:22:46
我用 xmlspy 编辑一个网页模板的xml文件,它里面是英文的标题,我想改成英文的,
<!--
This is the configuration section for the main file. Save and then publish the
flash movie (_source/main/main.fla) to see changes.
-->
<?xml version="1.0"?>
<config>
<!-- fade in time after preload -->
<fadeInTime>2</fadeInTime>
<!-- do you want to show the fullscreen button true | false -->
<showFullscreenButton>true</showFullscreenButton>
<!-- do you want to use the mp3 player? true | false -->
<useMp3Player>true</useMp3Player>
<!-- amount of time taken to open and close a section -->
<openCloseTime>1</openCloseTime>
<!-- Alignment of music player | left or right -->
<musicPlayerAlign>right</musicPlayerAlign>
<!-- Alignment of fullscreen button | le
<!--
This is the configuration section for the main file. Save and then publish the
flash movie (_source/main/main.fla) to see changes.
-->
<?xml version="1.0"?>
<config>
<!-- fade in time after preload -->
<fadeInTime>2</fadeInTime>
<!-- do you want to show the fullscreen button true | false -->
<showFullscreenButton>true</showFullscreenButton>
<!-- do you want to use the mp3 player? true | false -->
<useMp3Player>true</useMp3Player>
<!-- amount of time taken to open and close a section -->
<openCloseTime>1</openCloseTime>
<!-- Alignment of music player | left or right -->
<musicPlayerAlign>right</musicPlayerAlign>
<!-- Alignment of fullscreen button | le
<?xml version="1.0"?>这个改成<?xml version="1.0" encoding="GB2312" ?> 就行了
它里面是英文的标题,我想改成英文的?!
打错了吧?!
编码问题,你用记事本打开,另存为UTF-8的编码的~