Support » WooCommerce » Convert Unicode Character to String

  • Hello,

    the problem is as follows:

    On every WooCommerce product (total: 500 products) where an underscore „_“ has been used the acf custom field „product_uid“ shows the html character „#8211;“.

    New WooCommerce products are imported with WP All Import and the unique identifier can not be matched since the dash of the existing products are in unicode.

    Without having to change each record manually, how would I convert the corresponding products with the html character to a string? Can someone give me a code example? Would I need to create a query that returns all posts for the post type?

    Alternatively is there a plugin that can be used to convert the html codes to text?

    Thanks in advance & all the best,
    Mick

    • Dieses Thema wurde geändert vor 3 Wochen, 2 Tage von mickthemaker.
    • Dieses Thema wurde geändert vor 3 Wochen, 2 Tage von mickthemaker.
    • Dieses Thema wurde geändert vor 3 Wochen, 2 Tage von mickthemaker.
    • Dieses Thema wurde geändert vor 3 Wochen, 2 Tage von mickthemaker.
Ansicht von 1 Antwort (von insgesamt 1)
  • Moderation Note:

    I have closed this thread because you asked your question in English in the German support forums. To keep the threads accessible for users who don’t speak English, please ask your question in German or post it in the international support forums. Thanks for your understanding.

Ansicht von 1 Antwort (von insgesamt 1)
  • Das Thema „Convert Unicode Character to String“ ist für neue Antworten geschlossen.