`
yangzg216
  • 浏览: 71887 次
  • 性别: Icon_minigender_1
社区版块
存档分类
最新评论

Page-encoding specified in XML prolog (UTF-8) is different from that specified i

阅读更多

 今天在调试代码的时候,遇到一个非常搞笑的错误,Page-encoding specified in XML prolog (UTF-8) is different from that specified in page directive(utf-8)  ,由于刚开始我把jdk的版本给改了,我一直以为是jdk的版本问题,改了挺长时间都不好使,后来没办法,就上百度搜了一下,有位高手说UTF-8 和utf-8 含义不一样,感觉挺不可思议的,这也能不一样,不该吧,但我还是按照他说的,把jsp页的编码方式utf-8改成了UTF-8,他居然神奇般的好使了,虽然搞不懂是什么原因,但确实好使。于是,还是记下来吧。。。。。。

分享到:
评论
1 楼 王皓iit 2012-08-06  
我的也是,照你的方法解决了……只能说,靠……

相关推荐

    官网下载:Windows-KB841290-x86-ENU.zip

    xml version="1.0" encoding="utf-8"?> <name> <MD5> <SHA1> </FCIV> 5.Verification: --------------- You can build a hash database of your sensitive files and verify them regularily or ...

    S7-200通讯 specified access point not found补丁

    标题中的"S7-200通讯 specified access point not found补丁"指的是在使用Siemens S7-200系列PLC(可编程逻辑控制器)进行通信时遇到的问题,即"指定的访问点未找到"。这通常是由于网络配置错误、硬件故障或者软件不...

    FastReport.v4.15 for.Delphi.BCB.Full.Source企业版含ClientServer中文修正版支持D4-XE5

    - fixed bug in the ODF export in UTF8 encoding - fixed hiding gridlines around nonempty cells in the BIFF export - fixed images bluring when exporting - fixed word wrapping in the Excel XML export ...

    servlet2.4doc

    Encodes the specified URL for use in the sendRedirect method or, if encoding is not needed, returns the URL unchanged. encodeUrl(String) - Method in class javax.servlet....

    eclipse插件开发-添加xmlcatalog到plugin Specified Entries

    <?xml version="1.0" encoding="UTF-8"?> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> <uri name="http://example.com/XMLSchema/XMLSchema1.xsd" uri="path/to/XMLSchema1.xsd"/> ``` ...

    使用mdadm创建软RAID

    "使用mdadm创建软RAID详解" 在Linux系统中,mdadm是一个强大的工具,可以用来创建软RAID(Software RAID),软RAID可以将多个硬盘组合成一个逻辑硬盘,以提高存储容量和读写性能。本文将详细介绍使用mdadm创建软...

    Turbo C 2.00[DISK]

    When /P is specified, the EGA palette will be restored each time the screen is swapped. In general, you don't need to use this switch unless your program modifies the EGA palette registers, or ...

    ramin 2.2 for xp

    Allows an access to the Radmin server only from specified IP addresses and subnets. Radmin Supports High-Resolution Modes Display resolutions up to 2048 X 2048 X 32 bit color are supported by ...

    SSD7 选择题。Multiple-Choice

    When mapping from an ER model to a relational model, a strong entity is mapped into a (a) table (b) row (c) column (d) key Correct answer is (a) 10. Which of the following is true about ...

    应用Dephi 开发佳能照相机API

    This function delete all the reference or list objects that user has forgotten to delete. Parameters: In: None Out: None Returns: Returns EDS_ERR_OK if successful. In other cases, see ...

    Turbo C 2.01[DISK]

    When /P is specified, the EGA palette will be restored each time the screen is swapped. In general, you don't need to use this switch unless your program modifies the EGA palette registers, or ...

    jQuery完全实例.rar

    This means that every time the passed-in function is executed (which is once for every element matched) the 'this' keyword points to the specific DOM element. Additionally, the function, when ...

    struts_2.3.12GA_API文档(chm版本)

    Gets a message based on a key using the supplied args, as defined in MessageFormat, or, if the message is not found, a supplied default value is returned. String getText(String key, String default...

    Write-data-to-user-specified-cell.rar_LabVIEW Excel Write_cell

    "Write-data-to-user-specified-cell.rar_LabVIEW Excel Write_cell"这个项目主要关注的是如何利用LabVIEW将数据写入到用户指定的Excel单元格。以下是一些相关的知识点: 1. **LabVIEW的VI(Virtual Instrument)...

    i-vector的工具箱

    In addition, a whitening transformation that is learned from i-vectors in the development set is applied. Finally, a fast and linear strategy, which computes the log-likelihood ratio (LLR) between ...

    NX二次开发UF-DRF-set-specified-sbf-file 函数介绍

    NX二次开发UF_DRF_set_specified_sbf_file 函数介绍,Ufun提供了一系列丰富的 API 函数,可以帮助用户实现自动化、定制化和扩展 NX 软件的功能。无论您是从事机械设计、制造、模具设计、逆向工程、CAE 分析等领域的...

    NX二次开发UF-CLONE-part-under-specified 函数介绍

    NX二次开发UF_CLONE_part_under_specified 函数介绍,Ufun提供了一系列丰富的 API 函数,可以帮助用户实现自动化、定制化和扩展 NX 软件的功能。无论您是从事机械设计、制造、模具设计、逆向工程、CAE 分析等领域的...

    NIST SP800-108.pdf

    When parties share a secret symmetric key (e.g., upon a successful execution of a key- establishment scheme as specified in [1] and [2]), it is often the case that additional keys will be needed (e.g....

    squashfs2.2-r2.tar.gz

    Each compressed inode is on average 8 bytes in length (the exact length varies on file type, i.e. regular file, directory, symbolic link, and block/char device inodes have different sizes). 5. ...

Global site tag (gtag.js) - Google Analytics