`
qimo601
  • 浏览: 3446476 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
社区版块
存档分类
最新评论

The file contains a character that cannot be represented in the current code pag

阅读更多

vs2008 打开网上下载的Qt项目,结果编译时无法通过,出现:

The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss,然后导致大量错误。大意就是代码中有当前语言代码表中无法解析的东西,应该是字符编码不一致导致的。

如果出现类似的提示,就把当前源码文件都CTRL+A选中,然后FILE—ADVANCED SAVE OPTIONS.

然后将当前语言代码表统一设置为unicode 1200即可编译无错误通过。

 

 

 

  • 大小: 48.6 KB
  • 大小: 25.8 KB
分享到:
评论

相关推荐

    a project model for the FreeBSD Project.7z

    This, combined with the vast amount of dependencies in the kernel and that it is not easy to see all the consequences of a kernel change, demands developers with a relative full understanding of the ...

    微软内部资料-SQL性能优化2

    Although a system having less than 2 GB of physical memory can be booted using the /3G switch, in most cases this is ill-advised. If you restart with the 3 GB switch, also known as 4-Gig Tuning, the ...

    VS_2005下DirectShow开发环境的配置

    1. **编码格式问题:** 在编译过程中可能会遇到警告,比如`The file contains a character that cannot be represented in the current code page (936)。` 这是因为文件编码格式与当前系统默认的编码格式不匹配。...

    i-vector的工具箱

    This toolbox contains a collection of Matlab tools and routines that can be used for research and development in speaker recognition. It provides researchers with a test bed for developing new front-...

    Senfore_DragDrop_v4.1

    * Asynchronous targets appears to be broken in the current release. * When TDropFileTarget.GetDataOnEnter is set to True, the component doesn't work with WinZip. Although the file names are ...

    Common warehouse metamodel

    information represented in a computer system; e.g. in the form of files, databases, running program instances and so on. Alternatively, the information may be embodied in some system, with the ...

    kgb档案压缩console版+源码

    it contains in human-readable format, followed by the compressed data. The first line of the header is "PAQ6 -m" where -m is the memory option. The data is compressed as if all the files were ...

    Hidden Markov Models Fundamentals

    For instance, we might be interested in discovering the sequence of words that someone spoke based on an audio recording of their speech. Or we might be interested in annotating a sequence of words ...

    OTA COM Type Library

    A dependency usually means that one entity uses the other and cannot function without it. A dependency is modeled by relating one entity to the other entities that it uses. This feature supports ...

    华南理工大学计算机全英班编译原理实验1

    Illegal character, that is, scanner may recognize a character that is not in the alphabet of TINY+, such as $ is an illegal character The right bracket of a STRING is lost, such as ' scanner The...

    android dex format

    | A | 单个字节编码示例 | | ... | 更复杂的编码示例 | #### 结论 DEX文件是Android应用程序的核心组成部分之一,它不仅定义了应用程序的行为逻辑,还包含了所有必要的元数据。理解DEX文件格式对于开发人员来说...

    iOS Fuondation Framework Reference

    **Overview**: `NSArchiver` is a class that manages the archiving process for objects, allowing them to be serialized to a stream or file. It is commonly used for saving and restoring application state...

    Concepts in Electric Circuits

    For example, a voltage source in series with a resistor can be converted to a current source in parallel with the same resistor. **Maximum Power Transfer Theorem**: The maximum power transfer ...

    华南理工大学计算机全英班算法设计实验

    The solutions of many problems may be represented by trees and therefore solving them becomes a tree searching problems. We can search this tree to get the solution for this problem. 2.Experimental ...

    iOS 7示例——iAdSuite与串联图

    In many of the samples the content is represented by a simple TextViewController view controller that displays some text in a read-only UITextView and runs a timer. The UITextView represents your ...

    Python_Real-World+Data+Science_A+Course+in+Four+Modules-2016.pdf

    When we write code, we're instructing a computer on what are the things it has to do. Where does the action happen? In many places: the computer memory, hard drives, network cables, CPU, and so on. ...

Global site tag (gtag.js) - Google Analytics