PHP Classes
elePHPant
Icontem

PHP UTF 8 Replace Characters: Replace UTF-8 characters with Unicode escape text

Recommend this page to a friend!
  Info   View files Documentation   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2016-05-11 (1 year ago) RSS 2.0 feedStarStarStarStarStar 80%Total: 245 All time: 7,594 This week: 706Up
Version License PHP version Categories
unicodeutf8replace 1.0.0GNU General Publi...5.2PHP 5, Text processing
Description Author

This class can replace UTF-8 characters with Unicode escape text.

It can take a given text encoded in UTF-8 and replaces it with Unicode escape sequences that can be used in JavaScript code or JSON text.

The code and comments are in Spanish. In Spanish:

Convertir cadenas en ascii a unicode, se pueden agregar más caracteres al diccionario para su correcta interpretación. Funcion parecida a json_encode PHP.

  Performance   Level  
Name: Isaac Trenado Mx is available for providing paid consulting. Contact Isaac Trenado Mx .
Classes: 7 packages by
Country: Mexico Mexico
Age: 31
All time rank: 215623 in Mexico Mexico
Week rank: 1104 Up16 in Mexico Mexico Up
Innovation award
Innovation award
Nominee: 1x

Details

UnicodeUtf8Replace

Ascii - Utf8 to Unicode

UnicodeUtf8Replace

Original {"oficio":"","solped":"000000000","pos_financiera":"0000","fecha":"9999-99-99","fecha_sol":"9999-99-99","centro":"4410","zona":"MEXICO","fecha_libsol":"9999-99-99","fondo":"000","area":"XXX","monto_solped":"0000000.00","orden":"","entidad":"MEXICO","tipo_licitacion":"PUBLICA","obra":"OPERACI?N Y RESTABLECIMIENTO DE LA INFRAESTRUCTURA DE L?NEAS Y REDES DE, DISTRIBUCI?N DE ENERGIA ELECTRICA, Y DE CONTROL EN EL ?MBITO DE INFLUENCIA DE LA DIVISION DE DISTRIBUCI?N VALLA DE M?XICO NORTE DE LA ZONA TLALNEPANTLA.","id_solicitud":"0"}

Resultado {"oficio":"","solped":"000000000","pos_financiera":"0000","fecha":"9999-99-99","fecha_sol":"9999-99-99","centro":"4410","zona":"MEXICO","fecha_libsol":"9999-99-99","fondo":"000","area":"XXX","monto_solped":"0000000.00","orden":"","entidad":"MEXICO","tipo_licitacion":"PUBLICA","obra":"OPERACI\u00d3N Y RESTABLECIMIENTO DE LA INFRAESTRUCTURA DE L\u00cdNEAS Y REDES DE, DISTRIBUCI\u00d3N DE ENERGIA ELECTRICA, Y DE CONTROL EN EL \u00c1MBITO DE INFLUENCIA DE LA DIVISION DE DISTRIBUCI\u00d3N VALLA DE M\u00c9XICO NORTE DE LA ZONA TLALNEPANTLA.","id_solicitud":"0"}

jsonlint.com - Resultado { "oficio": "", "solped": "000000000", "pos_financiera": "0000", "fecha": "9999-99-99", "fecha_sol": "9999-99-99", "centro": "4410", "zona": "MEXICO", "fecha_libsol": "9999-99-99", "fondo": "000", "area": "XXX", "monto_solped": "0000000.00", "orden": "", "entidad": "MEXICO", "tipo_licitacion": "PUBLICA", "obra": "OPERACI\u00c3?N Y RESTABLECIMIENTO DE LA INFRAESTRUCTURA DE L\u00c3?NEAS Y REDES DE, DISTRIBUCI\u00c3?N DE ENERGIA ELECTRICA, Y DE CONTROL EN EL \u00c3?MBITO DE INFLUENCIA DE LA DIVISION DE DISTRIBUCI\u00c3?N VALLA DE M\u00c3?XICO NORTE DE LA ZONA TLALNEPANTLA.", "id_solicitud": "0" }

  Files folder image Files  
File Role Description
Accessible without login HTML file example-unicodeutf8_example.htm Doc. Documentation
Accessible without login Plain text file LICENSE Lic. License
Accessible without login Plain text file README.md Data Auxiliary data
Plain text file UnicodeUtf8Replace.php Class Class source
Accessible without login Plain text file unicodeutf8_example.php Example Example script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:245
This week:0
All time:7,594
This week:706Up
 User Ratings  
 
 All time
Utility:100%StarStarStarStarStarStar
Consistency:100%StarStarStarStarStarStar
Documentation:100%StarStarStarStarStarStar
Examples:100%StarStarStarStarStarStar
Tests:-
Videos:-
Overall:80%StarStarStarStarStar
Rank:17