Enviar pesquisa
Carregar
Characterset
•
Transferir como ODP, PDF
•
2 gostaram
•
1,080 visualizações
Hari K T
Seguir
Dealing with UTF-8 and character set .
Leia menos
Leia mais
Tecnologia
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 13
Baixar agora
Recomendados
Php Training
Php Training
adfa
Php
Php
mohamed ashraf
Symfony live 2017_php7_performances
Symfony live 2017_php7_performances
julien pauli
SymfonyCon 2017 php7 performances
SymfonyCon 2017 php7 performances
julien pauli
Zendcon 2007 Features
Zendcon 2007 Features
fivespeed5
Why Python by Marilyn Davis, Marakana
Why Python by Marilyn Davis, Marakana
Marko Gargenta
New Features in PHP 5.3
New Features in PHP 5.3
Bradley Holt
Writing and using php streams and sockets
Writing and using php streams and sockets
Elizabeth Smith
Recomendados
Php Training
Php Training
adfa
Php
Php
mohamed ashraf
Symfony live 2017_php7_performances
Symfony live 2017_php7_performances
julien pauli
SymfonyCon 2017 php7 performances
SymfonyCon 2017 php7 performances
julien pauli
Zendcon 2007 Features
Zendcon 2007 Features
fivespeed5
Why Python by Marilyn Davis, Marakana
Why Python by Marilyn Davis, Marakana
Marko Gargenta
New Features in PHP 5.3
New Features in PHP 5.3
Bradley Holt
Writing and using php streams and sockets
Writing and using php streams and sockets
Elizabeth Smith
Introduction to Guzzle
Introduction to Guzzle
DQNEO
Text Display (when it gets tricky)
Text Display (when it gets tricky)
Dirk Roorda
Introduction To Php For Wit2009
Introduction To Php For Wit2009
cwarren
PHP Optimization
PHP Optimization
djesch
PHP 7 performances from PHP 5
PHP 7 performances from PHP 5
julien pauli
Php7 extensions workshop
Php7 extensions workshop
julien pauli
APIs Demystified
APIs Demystified
Brandon West
Kansai.pm 10周年記念 Plack/PSGI 入門
Kansai.pm 10周年記念 Plack/PSGI 入門
lestrrat
Getting groovy (ODP)
Getting groovy (ODP)
Nick Dixon
Php 7 hhvm and co
Php 7 hhvm and co
Pierre Joye
Php extensions workshop
Php extensions workshop
julien pauli
Lean & Mean Tokyo Cabinet Recipes (with Lua) - FutureRuby '09
Lean & Mean Tokyo Cabinet Recipes (with Lua) - FutureRuby '09
Ilya Grigorik
using python module: doctest
using python module: doctest
mitnk
GettingStartedWithPHP
GettingStartedWithPHP
Nat Weerawan
Mysqlnd, an unknown powerful PHP extension
Mysqlnd, an unknown powerful PHP extension
julien pauli
Introduction to PHP
Introduction to PHP
Collaboration Technologies
Profiling php5 to php7
Profiling php5 to php7
julien pauli
Php in 2013 (Web-5 2013 conference)
Php in 2013 (Web-5 2013 conference)
julien pauli
How Xslate Works
How Xslate Works
Goro Fuji
Resource-Oriented Web Services
Resource-Oriented Web Services
Bradley Holt
Drupal
Drupal
Hari K T
Aura Project for PHP
Aura Project for PHP
Hari K T
Mais conteúdo relacionado
Mais procurados
Introduction to Guzzle
Introduction to Guzzle
DQNEO
Text Display (when it gets tricky)
Text Display (when it gets tricky)
Dirk Roorda
Introduction To Php For Wit2009
Introduction To Php For Wit2009
cwarren
PHP Optimization
PHP Optimization
djesch
PHP 7 performances from PHP 5
PHP 7 performances from PHP 5
julien pauli
Php7 extensions workshop
Php7 extensions workshop
julien pauli
APIs Demystified
APIs Demystified
Brandon West
Kansai.pm 10周年記念 Plack/PSGI 入門
Kansai.pm 10周年記念 Plack/PSGI 入門
lestrrat
Getting groovy (ODP)
Getting groovy (ODP)
Nick Dixon
Php 7 hhvm and co
Php 7 hhvm and co
Pierre Joye
Php extensions workshop
Php extensions workshop
julien pauli
Lean & Mean Tokyo Cabinet Recipes (with Lua) - FutureRuby '09
Lean & Mean Tokyo Cabinet Recipes (with Lua) - FutureRuby '09
Ilya Grigorik
using python module: doctest
using python module: doctest
mitnk
GettingStartedWithPHP
GettingStartedWithPHP
Nat Weerawan
Mysqlnd, an unknown powerful PHP extension
Mysqlnd, an unknown powerful PHP extension
julien pauli
Introduction to PHP
Introduction to PHP
Collaboration Technologies
Profiling php5 to php7
Profiling php5 to php7
julien pauli
Php in 2013 (Web-5 2013 conference)
Php in 2013 (Web-5 2013 conference)
julien pauli
How Xslate Works
How Xslate Works
Goro Fuji
Resource-Oriented Web Services
Resource-Oriented Web Services
Bradley Holt
Mais procurados
(20)
Introduction to Guzzle
Introduction to Guzzle
Text Display (when it gets tricky)
Text Display (when it gets tricky)
Introduction To Php For Wit2009
Introduction To Php For Wit2009
PHP Optimization
PHP Optimization
PHP 7 performances from PHP 5
PHP 7 performances from PHP 5
Php7 extensions workshop
Php7 extensions workshop
APIs Demystified
APIs Demystified
Kansai.pm 10周年記念 Plack/PSGI 入門
Kansai.pm 10周年記念 Plack/PSGI 入門
Getting groovy (ODP)
Getting groovy (ODP)
Php 7 hhvm and co
Php 7 hhvm and co
Php extensions workshop
Php extensions workshop
Lean & Mean Tokyo Cabinet Recipes (with Lua) - FutureRuby '09
Lean & Mean Tokyo Cabinet Recipes (with Lua) - FutureRuby '09
using python module: doctest
using python module: doctest
GettingStartedWithPHP
GettingStartedWithPHP
Mysqlnd, an unknown powerful PHP extension
Mysqlnd, an unknown powerful PHP extension
Introduction to PHP
Introduction to PHP
Profiling php5 to php7
Profiling php5 to php7
Php in 2013 (Web-5 2013 conference)
Php in 2013 (Web-5 2013 conference)
How Xslate Works
How Xslate Works
Resource-Oriented Web Services
Resource-Oriented Web Services
Destaque
Drupal
Drupal
Hari K T
Aura Project for PHP
Aura Project for PHP
Hari K T
Web routing in PHP with Aura
Web routing in PHP with Aura
Hari K T
Aura for PHP at Fossmeet 2014
Aura for PHP at Fossmeet 2014
Hari K T
Getting Started With Aura
Getting Started With Aura
Chris Tankersley
Speaking at Barcamp Kerala 11th Edition at IIM(K)
Speaking at Barcamp Kerala 11th Edition at IIM(K)
Hari K T
Calicut University Script not traceable notification
Calicut University Script not traceable notification
Hari K T
6 Week / Month Industrial Training in Hoshiarpur Punjab- PHP Project Report
6 Week / Month Industrial Training in Hoshiarpur Punjab- PHP Project Report
c-tac
Destaque
(8)
Drupal
Drupal
Aura Project for PHP
Aura Project for PHP
Web routing in PHP with Aura
Web routing in PHP with Aura
Aura for PHP at Fossmeet 2014
Aura for PHP at Fossmeet 2014
Getting Started With Aura
Getting Started With Aura
Speaking at Barcamp Kerala 11th Edition at IIM(K)
Speaking at Barcamp Kerala 11th Edition at IIM(K)
Calicut University Script not traceable notification
Calicut University Script not traceable notification
6 Week / Month Industrial Training in Hoshiarpur Punjab- PHP Project Report
6 Week / Month Industrial Training in Hoshiarpur Punjab- PHP Project Report
Semelhante a Characterset
Introduction To Lamp
Introduction To Lamp
Amzad Hossain
Open Source Package PHP & MySQL
Open Source Package PHP & MySQL
kalaisai
Open Source Package Php Mysql 1228203701094763 9
Open Source Package Php Mysql 1228203701094763 9
isadorta
Control Structures In Php 2
Control Structures In Php 2
Digital Insights - Digital Marketing Agency
PHP MySQL
PHP MySQL
Md. Sirajus Salayhin
Web Scraper Shibuya.pm tech talk #8
Web Scraper Shibuya.pm tech talk #8
Tatsuhiko Miyagawa
Dynamic Web Pages Ch 1 V1.0
Dynamic Web Pages Ch 1 V1.0
Cathie101
Php intro
Php intro
Rajesh Jha
What's New in ZF 1.10
What's New in ZF 1.10
Ralph Schindler
Php
Php
Mindtree
Web development
Web development
Seerat Bakhtawar
Justmeans power point
Justmeans power point
justmeanscsr
Justmeans power point
Justmeans power point
justmeanscsr
Justmeans power point
Justmeans power point
justmeanscsr
Justmeans power point
Justmeans power point
justmeanscsr
Justmeans power point
Justmeans power point
justmeanscsr
Justmeans power point
Justmeans power point
justmeanscsr
Justmeans power point
Justmeans power point
justmeanscsr
Justmeans power point
Justmeans power point
justmeanscsr
The bones of a nice Python script
The bones of a nice Python script
saniac
Semelhante a Characterset
(20)
Introduction To Lamp
Introduction To Lamp
Open Source Package PHP & MySQL
Open Source Package PHP & MySQL
Open Source Package Php Mysql 1228203701094763 9
Open Source Package Php Mysql 1228203701094763 9
Control Structures In Php 2
Control Structures In Php 2
PHP MySQL
PHP MySQL
Web Scraper Shibuya.pm tech talk #8
Web Scraper Shibuya.pm tech talk #8
Dynamic Web Pages Ch 1 V1.0
Dynamic Web Pages Ch 1 V1.0
Php intro
Php intro
What's New in ZF 1.10
What's New in ZF 1.10
Php
Php
Web development
Web development
Justmeans power point
Justmeans power point
Justmeans power point
Justmeans power point
Justmeans power point
Justmeans power point
Justmeans power point
Justmeans power point
Justmeans power point
Justmeans power point
Justmeans power point
Justmeans power point
Justmeans power point
Justmeans power point
Justmeans power point
Justmeans power point
The bones of a nice Python script
The bones of a nice Python script
Último
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
BookNet Canada
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Delhi Call girls
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
soniya singh
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Igalia
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Rafal Los
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
Allon Mureinik
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
The Digital Insurer
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Principled Technologies
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
Sinan KOZAK
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
ThousandEyes
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
gurkirankumar98700
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Miguel Araújo
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
OnBoard
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Safe Software
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Gabriella Davis
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Michael W. Hawkins
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
Delhi Call girls
Último
(20)
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
Characterset
1.
2.
3.
:-(
4.
Solution ?
5.
:-)
6.
7.
subsequently modified by
Ken Thompson
8.
To be backward-compatible
with ASCII
9.
To enable encoding
of up to at least 231 characters (the theoretical limit of the first draft proposal for the Universal Character Set).
10.
http://www.cl.cam.ac.uk/~mgk25/ucs/utf-8-history.txt
11.
12.
13.
Must be the
first thing to be in <head>
14.
Remember Google UTF-7
exploit read on http://shiflett.org/archive/178
15.
Changing the server
encoding
16.
17.
header('Content-Type:text/html; charset=UTF-8');
18.
php.ini
19.
default_charset = "utf-8"
20.
ini_set('default_charset', 'UTF-8');
21.
Running php as
a module in apache and not fast cgi
22.
php_value default_charset "UTF-8"
23.
AddDefaultCharset UTF-8 in
.htaccess
24.
25.
Eg :
26.
<form accept-charset="utf-8" ...>
27.
28.
mysql_set_charset('utf8');
29.
mysqli_set_charset('utf8');
30.
Remember we are
moving to PDO ;)
31.
$handle = new
PDO("mysql:host=localhost;dbname=dbname",
32.
'username', 'password',
33.
array (PDO::MYSQL_ATTR_INIT_COMMAND =>
"SET NAMES utf8"));
34.
35.
'password' => 'password',
36.
'dbname' => 'dbname',
37.
'driver_options' => array(
PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES UTF8 ;')
38.
39.
Or in config/application.ini
40.
resources.db.params.charset = utf8
41.
42.
# Doctrine Configuration
43.
doctrine:
44.
dbal:
45.
driver: %database_driver%
46.
host: %database_host%
47.
port: %database_port%
48.
dbname: %database_name%
49.
user: %database_user%
50.
password: %database_password%
51.
charset: UTF8
52.
53.
Show size of
byte with utf-8 and latin charcter-set.
54.
EXPLAIN SELECT *
FROM tbl WHERE first_name LIKE 'joshua';
55.
Questions ?
56.
57.
http://htmlpurifier.org/docs/enduser-utf8.html
58.
http://en.wikipedia.org/wiki/UTF-8
59.
http://webcollab.sourceforge.net/unicode.html
60.
http://akrabat.com/php/utf8-php-and-mysql/
61.
http://www.adayinthelifeof.nl/2010/12/04/about-using-utf-8-fields-in-mysql
Baixar agora