Submitted : |charset2unicode

**SPIP**

# Article submitted

The article "**|charset2unicode**
(https://www.spip.net/ecrire/?exec=article&id_article=6570)" is submitted
for publication. on Monday 25 May 2020.

* * *

## |charset2unicode

Monday 25 May 2020 , by [jack](.././?page=auteur&id_auteur=593&)

The filter `|charset2unicode` applied to a text tag transforms a string
into unicode integers ``

For example, from a #DESCRIPTION tag that normally returns the following
html source:

2 est supérieur à 1 & it is noted: 2 > 1

we will use:

`[(#DESCRIPTIF|charset2unicode)]`

which will return the html source code:

`2 est "supérieur" à 1 & c’est noté : 2 > 1`

The interest of this filter is that it does not impact the html tags.

— Sent by SPIP (https://www.spip.net/)

rubon199.jpg