PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Andrey Nikishaev   Percent Russian Text Encoder   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example
Class: Percent Russian Text Encoder
Convert Russian UTF-8 text to HTML entities
Author: By
Last change:
Date: 15 years ago
Size: 606 bytes
 

Contents

Class file image Download
<?php
include('percentEncoder.php');

echo
percentEncoder::encode("&#1055;&#1088;&#1086;&#1073;&#1083;&#1077;&#1084;&#1099; &#1089; &#1087;&#1072;&#1088;&#1086;&#1083;&#1077;&#1084;")."<br>";
echo
percentEncoder::encode("&#1084;&#1086;&#1081; &#1083;&#1086;&#1075;&#1080;&#1085; P00xxxxxx.
&#1055;&#1088;&#1086;&#1096;&#1091; &#1091;&#1089;&#1090;&#1072;&#1085;&#1086;&#1074;&#1080;&#1090;&#1100; &#1087;&#1077;&#1088;&#1074;&#1086;&#1085;&#1072;&#1095;&#1072;&#1083;&#1100;&#1085;&#1099;&#1081; &#1087;&#1072;&#1088;&#1086;&#1083;&#1100;.
&#1055;&#1088;&#1080;&#1095;&#1080;&#1085;&#1072;:"
)."<br>";