Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F230522
allow_utf8mb4.diff
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
epriestley
Nov 6 2014, 5:13 PM
2014-11-06 17:13:20 (UTC+0)
Size
745 B
Referenced Files
None
Subscribers
None
allow_utf8mb4.diff
View Options
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
Details
Attached
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)
Attached To
Mode
P1415 allow_utf8mb4.diff
Attached
Detach File
Event Timeline
Log In to Comment