Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P1415
allow_utf8mb4.diff
Active
Public
Actions
Authored by
epriestley
on Nov 6 2014, 5:13 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F230522: allow_utf8mb4.diff
Nov 6 2014, 5:13 PM
2014-11-06 17:13:20 (UTC+0)
Subscribers
None
diff --git a/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php b/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php
index db88d0a..196f5af 100644
--- a/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php
+++ b/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php
@@ -326,7 +326,7 @@ abstract class AphrontBaseMySQLDatabaseConnection
protected function validateUTF8String($string) {
// TODO: Make this `true` eventually, once we make storage adjustment
// mandatory. For now, you can set it to `true` to test things.
- $has_utf8mb4 = false;
+ $has_utf8mb4 = true;
if ($has_utf8mb4) {
if (phutil_is_utf8($string)) {
Event Timeline
epriestley
edited the content of this paste.
(Show Details)
Nov 6 2014, 5:13 PM
2014-11-06 17:13:20 (UTC+0)
epriestley
changed the title of this paste from untitled to
allow_utf8mb4.diff
.
epriestley
updated the paste's language from
autodetect
to
autodetect
.
bluehawk
mentioned this in
T1191: Comments are truncated at first non-base-plane character
.
Nov 6 2014, 5:37 PM
2014-11-06 17:37:05 (UTC+0)
Log In to Comment