How to use Unicode chars on PHPMyAdmin?How to display database structure in phpMyAdmin?PhpMyAdmin Missing...

Has a sovereign Communist government ever run, and conceded loss, on a fair election?

How to roleplay my character's ethics according to the DM when I don't understand those ethics?

Caulking a corner instead of taping with joint compound?

Naming Characters after Friends/Family

I can't die. Who am I?

Commonest[] function doesn't actually show commonest elements

How can you calculate the inverse of signature S, while you cannot do it in ECC to calculate private key from public key?

Convert an array of objects to array of the objects' values

Sundering Titan and basic normal lands and snow lands

What is the meaning of "producing negative zeroes" in a system that doesn't support it?

Does the US political system, in principle, allow for a no-party system?

How do you make a gun that shoots melee weapons and/or swords?

Searching for a string that contains the file name

How spaceships determine each other's mass in space?

Ultrafilters as a double dual

Why aren't there more gauls like Obelix?

How do you write a macro that takes arguments containing paragraphs?

Number of folds to form a cube, using a square paper?

How can friction do no work in case of pure rolling?

Effect of "wrong" driver with slightly long RS-485 stubs

Remove object from array based on array of some property of that object

Practical reasons to have both a large police force and bounty hunting network?

Can a space-faring robot still function over a billion years?

Is divide-by-zero a security vulnerability?



How to use Unicode chars on PHPMyAdmin?


How to display database structure in phpMyAdmin?PhpMyAdmin Missing parameterHow to import big sql file in PhpmyadminHow to use 2 auto increment columns in MySQL phpmyadminPHPMyAdmin - Missing value in the formCannot use phpmyadmin in XAMPPIssues regarding phpMyAdmin - character setIncrease AUTO_INCREMENT value in phpMyAdminDoes phpMyAdmin only works with HTTPS?phpMyAdmin 4.8 vs 5.0 comparison













0















On a WordPress site I want to replace " !" and " ?" by " !" and " ?". The challenge is that the replacement string not uses a common space char but a thin space char (U+2009).



PHPMyAdmin is used for database editing with this query:



UPDATE wp_posts SET post_content = REPLACE (post_content,' !',' !');


(Yes, it's the correct thin space char, but Courier is a fixed-width font not showing a difference.)



It seems that PHPMyAdmin is not correctly handling the special char, because simulating the query delivers zero hits.



But trying another replace query works, so the statement should be correct. Tables are using "utf8mb4_unicode_ci" as collation, which seems to be the default and correct setting of WordPress. Database server is MariaDB (10.1.26).



I'm not familiar enough how to specify Unicode chars in SQL queries. Can someone help me out there?









share







New contributor




Toby is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    On a WordPress site I want to replace " !" and " ?" by " !" and " ?". The challenge is that the replacement string not uses a common space char but a thin space char (U+2009).



    PHPMyAdmin is used for database editing with this query:



    UPDATE wp_posts SET post_content = REPLACE (post_content,' !',' !');


    (Yes, it's the correct thin space char, but Courier is a fixed-width font not showing a difference.)



    It seems that PHPMyAdmin is not correctly handling the special char, because simulating the query delivers zero hits.



    But trying another replace query works, so the statement should be correct. Tables are using "utf8mb4_unicode_ci" as collation, which seems to be the default and correct setting of WordPress. Database server is MariaDB (10.1.26).



    I'm not familiar enough how to specify Unicode chars in SQL queries. Can someone help me out there?









    share







    New contributor




    Toby is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      On a WordPress site I want to replace " !" and " ?" by " !" and " ?". The challenge is that the replacement string not uses a common space char but a thin space char (U+2009).



      PHPMyAdmin is used for database editing with this query:



      UPDATE wp_posts SET post_content = REPLACE (post_content,' !',' !');


      (Yes, it's the correct thin space char, but Courier is a fixed-width font not showing a difference.)



      It seems that PHPMyAdmin is not correctly handling the special char, because simulating the query delivers zero hits.



      But trying another replace query works, so the statement should be correct. Tables are using "utf8mb4_unicode_ci" as collation, which seems to be the default and correct setting of WordPress. Database server is MariaDB (10.1.26).



      I'm not familiar enough how to specify Unicode chars in SQL queries. Can someone help me out there?









      share







      New contributor




      Toby is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      On a WordPress site I want to replace " !" and " ?" by " !" and " ?". The challenge is that the replacement string not uses a common space char but a thin space char (U+2009).



      PHPMyAdmin is used for database editing with this query:



      UPDATE wp_posts SET post_content = REPLACE (post_content,' !',' !');


      (Yes, it's the correct thin space char, but Courier is a fixed-width font not showing a difference.)



      It seems that PHPMyAdmin is not correctly handling the special char, because simulating the query delivers zero hits.



      But trying another replace query works, so the statement should be correct. Tables are using "utf8mb4_unicode_ci" as collation, which seems to be the default and correct setting of WordPress. Database server is MariaDB (10.1.26).



      I'm not familiar enough how to specify Unicode chars in SQL queries. Can someone help me out there?







      mariadb phpmyadmin wordpress





      share







      New contributor




      Toby is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      Toby is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      Toby is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 9 mins ago









      TobyToby

      1




      1




      New contributor




      Toby is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Toby is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Toby is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "182"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          Toby is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f231598%2fhow-to-use-unicode-chars-on-phpmyadmin%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Toby is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Toby is a new contributor. Be nice, and check out our Code of Conduct.













          Toby is a new contributor. Be nice, and check out our Code of Conduct.












          Toby is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Database Administrators Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f231598%2fhow-to-use-unicode-chars-on-phpmyadmin%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Szabolcs (Ungheria) Altri progetti | Menu di navigazione48°10′14.56″N 21°29′33.14″E /...

          Discografia di Klaus Schulze Indice Album in studio | Album dal vivo | Singoli | Antologie | Colonne...

          How to make inet_server_addr() return localhost in spite of ::1/128RETURN NEXT in Postgres FunctionConnect to...