How To Convert HTML Entity Codes To Plain Text

Using Perl: use HTML::Entities; my $plainText = decode_entities(‘Put text to convert here’); Using PHP: $plainText = html_entity_decode(‘Put text to convert here’,ENT_QUOTES,’UTF-8′);
![]() |
Using Perl: use HTML::Entities; my $plainText = decode_entities(‘Put text to convert here’); Using PHP: $plainText = html_entity_decode(‘Put text to convert here’,ENT_QUOTES,’UTF-8′);
A client wanted specific fonts on their website, and of course, the provided fonts did not work on IE. What a shocker. So I did some research, and found the most amazing site that does easy font conversion for free. Drumroll, please… It is called Font Squirrel, and all you need to do is upload […]
:let html_use_css = 1 :let html_no_pre = 1 :let html_use_encoding = “utf-8” Use the “:TOhtml” user command. It is defined in a standard plugin. “:TOhtml” also works with a range and in a Visual area: > :10,40TOhtml After you save the resulting file, you can view it with any HTML viewer, such as Netscape. The […]
1 |
To convert DOS line breaks (^M) to UNIX in VIM: |
1 2 3 4 5 |
:%s/^M/\r/g -OR- :set fileformat=unix |
% ssh-keygen -x -f id_dsa > ssh2.pubkey