As insert invisible characters (hidden) in a text


A while ago I saw a website in English that I was unable to translate with any online translator, including Google translator.

This is a piece of text:


Саrrоts аrе nоt јust fоr Вugs Вunnу! Іt іs а rісh sоurсе оf nесеssаrу   nutrіеnts аnd mіnеrаls. Іt іs а rісh sоurсе оf nесеssаrу nutrіеnts аnd   mіnеrаls. Іt іs оnе оf thоsе mіrасlе соnсосtіоns thаt іs gооd fоr   vаrіоus рurроsеs. Саrrоts hаvе а wеаlth оf vаluаblе nutrіtіоn аnd whеn   уоu јuісе thеm, уоu саn gеt а соnсеntrаtеd dоsе оf thеіr hеаlіng   роwеr. Frоm bаlаnсіng blооd sugаr, іmрrоvіng blооd hеаlth, rеlіеvіng   соngеstіоn, fіghtіng іnflаmmаtіоn аnd сlеаnsіng thе kіdnууs tо   рrоtесtіng еуеsіght, brаіn funсtіоn аnd fіghtіng Lеukеmіа, саrrоt   јuісе bеnеfіts саn hеlр nеаrlу еvеrу раrt оf уоur bоdу! Drіnkіng   саrrоt јuісе dаіlу іs аbаbіt thаt еvеrуоnе shоuld stаrt, аs іt іs   bоth hеаlthу аnd tаstу аs wеll.

From what I saw it has hidden characters within the text

The text can be copied and pasted anywhere (text editor, word ect ...) is not altered and can not be translated

Do you have any idea how to do that with php?


asked by luis 28.06.2016 в 04:40

3 answers


They are not invisible characters, it is the Cyrillic alphabet: UTF-8 'd0a1' = C, 'd092' = B, etc. .. but I do not know how they have done to associate the Cyrillic character with the Latin character so ... witty? some weird coding problem?

answered by 28.06.2016 в 08:08

Quickly and easily, you could insert <span></span> elements with random alphanumeric characters between the text.

In this way, you could have:

    .hide-text { display: none; }

And insert this <span class="hide-text">{textoaleatorio}</span> element among the characters in your text. Not only can you insert characters, but complete texts. As long as the output of that text is html.

answered by 28.06.2016 в 10:31

Maybe it was a type of font with some character that was invisible "or at least", very thin.

You would have to create your own font and create an invisible or very thin character and put it between your letters / words.

answered by 28.06.2016 в 07:40