Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Linux UTF-8

Content-Type: text/plain; charset=utf-8
Comment

Linux UTF-8

Content-Type: text/html; charset=utf-8
Comment

Linux UTF-8

AddType text/html;charset=UTF-8 html
  AddType text/plain;charset=UTF-8 txt
Comment

Linux UTF-8

<META http-equiv=Content-Type content="text/html; charset=UTF-8">
Comment

Linux UTF-8

perl -C -e 'print pack("U",0x20ac)."
"'
  perl -C -e 'print "x{20ac}
"'           # works only from U+0100 upwards
Comment

Linux UTF-8

perl -ne '/^(([x00-x7f]|[xc0-xdf][x80-xbf]|[xe0-xef][x80-xbf]{2}|[xf0-xf7][x80-xbf]{3})*)(.*)$/;print "$ARGV:$.:".($-[3]+1).":$_" if length($3)'
Comment

Linux UTF-8

perl -ne '/^([x00-x7f]*)(.*)$/;print "$ARGV:$.:".($-[2]+1).":$_" if length($2)'
Comment

Linux UTF-8

perl -C -pe 's/([^x00-x7f])/sprintf("&#%d;", ord($1))/ge;'
Comment

Linux UTF-8

perl -C -pe 's/&#(d+);/chr($1)/ge;s/&#x([a-fA-Fd]+);/chr(hex($1))/ge;'
Comment

PREVIOUS NEXT
Code Example
Shell :: git pull auto rebase accept incoming 
Shell :: stash recrusive submodules 
Shell :: upgrade r from consele 
Shell :: installing auto complete oh-my-posh PS 
Shell :: fish function to change php version .env 
Shell :: linux mount all fstab 
Shell :: bash complete 
Shell :: preview of file windows 
Shell :: hide npm fund 
Shell :: hbase put command terminal 
Shell :: export VARs into you local env 
Shell :: influxdb save time range to csv 
Shell :: git change upstream url 
Shell :: ssh open gui app on host 
Shell :: file transfer disabled by policy 
Shell :: ring Change the current directory 
Shell :: docker pull 
Shell :: ansible zypper add repository 
Shell :: tomcat run coljure 
Shell :: sed insert string at beginning of line matching pattern 
Shell :: Install both Heimdall Proxy and Central Console on a single host 
Shell :: tableplus 
Shell :: Transfer all the changes made to a single file between git branches 
Shell :: linux firewall allow googlebot 
Shell :: uninstall Bibata 
Shell :: Install-Module PSWindowsUpdate 
Shell :: azure cli create web app 
Shell :: git 2 
Shell :: install slurm debian 
Shell :: what to never time in powershell 
ADD CONTENT
Topic
Content
Source link
Name
5+6 =