quinta-feira, 27 de março de 2025

txt texto compativel com Windows e Mac

O padrão atual é LF (\n)

instale o dos2unix

$ sudo apt-get install dos2unix

converta o texto
$ unix2dos arquivotexto.txt

informação:
dos2unix arquivo.txt  # converte CRLF para LF
unix2dos arquivo.txt  # converte LF para CRLF

IMPORTANTE: Adote sempre o formato UTF-8

garantir UTF-8

$ iconv -f UTF-8 -t UTF-8 meu_arquivo.txt -o arquivo_final.txt

utilize o comando file -bi para saber se esta tudo em ordem

$ file -bi arquivo_final.txt

Visualizar formatação de texto e caracteres especiais:
$ cat -vET input.txt

Analisar bytes exatos (se necessário):
$ xxd input.txt

sexta-feira, 31 de janeiro de 2025

sexta-feira, 22 de novembro de 2024

melhores IDE para editar html e css online

https://htmleditor.gitlab.io 

https://htmledit.squarefree.com/

https://realtimehtml.com/

https://html.onlineviewer.net/ 

https://htmlfiddle.net/