Difference between revisions of "UTF-8"

From wikieduonline
Jump to navigation Jump to search
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Draft}}
+
[[wikipedia:UTF-8]] variable-width [[character encoding]].
  
 
* <code>export [[LANG]]=[[en_US]].[[UTF-8]]</code>
 
* <code>export [[LANG]]=[[en_US]].[[UTF-8]]</code>
 +
* <code>[[ssh -vvv]]</code>
  
===[[PostgreSQL]]===
+
[[curl -I]] https://google.com
 +
.../...
 +
content-type: text/html; [[charset]]=UTF-8
 +
.../...
 +
 
 +
 
 +
== [[PostgreSQL]] ==
 
  CREATE DATABASE "scratch"
 
  CREATE DATABASE "scratch"
 
   WITH OWNER "postgres"
 
   WITH OWNER "postgres"
 
   [[ENCODING]] 'UTF8'
 
   [[ENCODING]] 'UTF8'
   LC_COLLATE = 'en_US.UTF-8'
+
   [[LC_COLLATE]] = 'en_US.UTF-8'
   LC_CTYPE = 'en_US.UTF-8';
+
   [[LC_CTYPE]] = 'en_US.UTF-8';
 +
 
 +
[[SHOW SERVER ENCODING]]
  
 
<code>[[\list]]</code>
 
<code>[[\list]]</code>
  
<code>[[ssh -vvv]]</code>
+
== Related ==
 
+
* [[Terraform resource: aws db parameter group]]
 
 
curl -I https://google.com
 
  
== See also ===
+
== See also ==
 
* {{export}}
 
* {{export}}
 
* {{LANG}}
 
* {{LANG}}
 +
* {{Charset}}
  
 
[[Category:Linux]]
 
[[Category:Linux]]
 
[[Category:Encoding]]
 
[[Category:Encoding]]

Latest revision as of 14:23, 14 December 2022

wikipedia:UTF-8 variable-width character encoding.

curl -I https://google.com
.../...
content-type: text/html; charset=UTF-8
.../...


PostgreSQL[edit]

CREATE DATABASE "scratch"
 WITH OWNER "postgres"
 ENCODING 'UTF8'
 LC_COLLATE = 'en_US.UTF-8'
 LC_CTYPE = 'en_US.UTF-8';
SHOW SERVER ENCODING

\list

Related[edit]

See also[edit]

Advertising: