Page MenuHomePhabricator

allow_utf8mb4.diff

Authored By
epriestley
Nov 6 2014, 5:13 PM
Size
745 B
Referenced Files
None
Subscribers
None

allow_utf8mb4.diff

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)) {

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/jj/lf/twtgft7rebur4k3q
Default Alt Text
allow_utf8mb4.diff (745 B)

Event Timeline