1.2.424. Encoding Usage

Usage of declare(encoding = ). This command configures the encoding to be used with the current file.

<?php

// Setting encoding for the file;
    declare(encoding = 'UTF-8');

?>

See also declare.

1.2.424.1. Connex PHP features

1.2.424.1.1. Specs

Short name

Php/DeclareEncoding

Rulesets

All, Appinfo, CE, Changed Behavior, Preferences

Exakat since

0.12.1

PHP Version

All

Severity

Time To Fix

Precision

Very high

Available in

Entreprise Edition, Community Edition, Exakat Cloud