Back

Topic

[KB367]Use of the ASCII and ANSI parameters

14 years ago
By RM
Options
Print
Applies to:

PcVue all versions.


Summary:

The character encoding of configuration files used by PcVue can be defined in two ways: Either by a command line argument or as a parameter in the param.dat file

ascii

Default settings:

  • The format of the global configuration files of the product (bin\*.dat) is ASCII. It is intended to use ANSI-format for all configuration files except XML files in version 10. Then ANSI and ANSIP will only be kept for compatibility reasons.
  • The format of configuration files in the project folder (usr\…) is ASCII.

Details:

Changing the settings:

  1. Using ANSI,1 in the param.dat file or using –ansi in the command line of PcVue:
    • It forces the use of the ANSI-format in global configuration files (bin*\.dat).
    • The format of project configuration files (usr\…) is changed to ANSI.
    • This option is obsolete. ANSI and ANSIP behave the same way.
  2. Using ANSIP,1 in param.dat:
    • At start-up – The format of project configuration files (usr\…) is changed to ANSI.
    • When exiting PcVue – The entry ANSIP,1 is written to the param.dat if the format of the global configuration files is ASCII.
  3. Using -ascii in command line of PcVue:
    • It forces the usage of the ASCII-format in global configuration files (bin\*.dat).
    • The format used in project configuration files (usr\…) is ASCII.

Further information:

  • The ascii default option makes some internal conversions ASCII->ANSI and ANSI->ACSII at file writing. Using ansi option avoids doing so.
  • These conversions are not welcome with non-European languages such as Chinese, Korean, Russian, Arab… It is recommended to use ansi (or ansip) options for these languages.

Created on: 30 Dec 2010 Last update: 04 Sep 2024