The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
488 views

wp_insert_post and title not utf8 inserts with empty title?

I'm using wp_insert_post I loop over a text file one row at a time and for each row I create a post. The text is set as the `post_title', for text that is not utf8 the post inserts but with an empty ...
3
votes
4answers
5k views

Character encoding issue after changing servers

I recently moved my WordPress-based site from DreamHost VPS to a Linode VPS running Debian + LEMP. After getting the site up again, I noticed many erroneous characters in posts; characters like " and -...
0
votes
0answers
23 views

URL with Chinese, Russian, Brazil characters fail to load page

I am administering a multisite and we provide content to different countries, for non english pages, i have to make them load fine if non-english characters (China, Russian, Brazilian) characters are ...
3
votes
1answer
85 views

JSON not valid after json_encode posts

I'm having problems saving JSON in a custom table in my database. I pull some posts (+ connected posts) from the database and add them to an array. This is a part of my array: array(2) { ["post"]...
0
votes
0answers
21 views

Encoding issue with $wpdb

I am trying to upload data into a table using the following code: $table = 'wp_promotion'; $data = array( 'id' => $id , 'art_id' => $art_id , 'nom' => $nom , 'category' => ...
0
votes
0answers
33 views

Encoding error when importing blog to new website

when I import my old blog (OLD) content to a new website (NEW), it messes up the file names in the uploads folder (more specificaly, it turns images containing special characters like "Capture-d'écran....
0
votes
1answer
32 views

How to distinguish between a hack and an encoding error?

This morning I was working with a new image gallery plugin. After two hours of working with it, our server was struggling with a heavy network traffic, and then the server appeared to go out. ...
0
votes
1answer
532 views

Wordpress doesn't display accents after migration

I know this is a common question, but I've searched a lot and only experience this since a few months, without knowing what's causing this issue of course, maybe since a Wordpress update. This is now ...
0
votes
0answers
34 views

Database collation and char set issue

I attempted to import my WordPress website from local host to live server online and i get an error #1115: that i have wrong db collation of utf8mb4. So i googled and changed the cllation to ...
0
votes
0answers
109 views

Special characters are showing as question mark

When I am writing a special character code or entity in the visual editor box it is shown as ? (Question mark on post). Kindly suggest What should I do?
0
votes
1answer
103 views

wp_mail encode ’ in ’ in subject

I create a function to send mail (in french) for custom post, it's work but subject is encoding in html. I do this : $get_title = get_the_title($ID); wp_mail("me@my.com","new article : ".$get_title,"...
0
votes
1answer
137 views

urlencode query string in gravity forms confirmation redirect

I have a form that passes information such as 'name', 'email', 'orderno', 'amount' and 'note' to a payment form hosted at ePay. In order to pass the field-values I use the standard-confirmation on ...
3
votes
1answer
25 views

do_settings_sections() doesn't escape quotes

I'm using the Settings API on a custom settings page: <form action='options.php' method='post'> <?php settings_fields('myplugin_settingsPage'); do_settings_sections('...
0
votes
1answer
85 views

Unicode characters displaying as ? after import using WP Clone

I moved over a development site to the client's hosting server using the WP Clone plugin. It seemed to work just fine, until I noticed a bunch of odd question marks where things like em-dashes and ...
1
vote
1answer
41 views

How to write Hebrew characters?

Our database is set to: define(‘DB_CHARSET’, ‘utf8’); define(‘DB_COLLATE’, ”); As a result, entered Hebrew characters in a post are turned into question marks (?) on saving of the post. What is the ...
0
votes
0answers
44 views

URLs are being double encoded

I have a custom user password reset page, it works well, sending an email with a unique URL to reset the password such as https://website.org/reset-your-password?action=rp&key=...
0
votes
2answers
84 views

Plugin error on activation - breaks page encoding and prints the code of plugin php files

I have WordPress multisite install, everything was working properly. Developed a custom pugin on my local server (same configuration of Nginx, PHP, MySQL, Memcached, the only difference is OS - ...
0
votes
0answers
211 views

Migrating a WordPress site has broken UTF8 encoding

I am trying to migrate a WordPress site from one server to another, but on the new server I'm getting incorrect symbols in place of UTF8 (I assume) characters. I dumped the database using mysqldump: ...
0
votes
0answers
38 views

Character encoding problem in plugin header

i have character encoding issue in plugin description area. Here is the screen shot. But another plugin with same encoding is working properly. How can i fix it?
0
votes
1answer
431 views

Blank spaces show as a question mark

I have a client who wanted to restore her old website from 5 years ago with a very small budget. I suggested that she at least uses Wordpress for CMS and now she has a limited editing capability of a ...
0
votes
1answer
169 views

Control character encode after using jquery autocomplete

I'm using jQuery UI autocomplete for three different form suggestions. Everything is working good, the only issue is that titles suggested aren't utf-8 (I think): Instead of "Bla bla - Bla" I have "...
0
votes
1answer
52 views

Wordpress site stopped working after simply opening header.php in the wp-admin editor

I opened header.php inside the wp-admin editor and suddenly the actual site is filled with diamond shaped question marks. Admin area still works. The weird thing is that I didn't even perform any ...
0
votes
1answer
115 views

Function to replace comment's accented characters before posting

I have some weird problems with encoding my Wordpress website and I can't add comments with accent words. when i try to do it, i received error by WP. What i need is just a function that read the ...
3
votes
1answer
3k views

Strange characters - despite everything being UTF-8

Not sure why this thread was closed, but this is the same issue inflicting many people. All my WP config settings are in order: //define('DB_CHARSET', 'utf8'); //define('DB_CHARSET', '...
4
votes
1answer
955 views

Truncating custom fields

I'm using custom fields to pull a secondary description. I'd like to use the built in WordPress truncate but can't seem to figure it out. $desc = get_post_meta($post->ID, "youtube-desc", true); ...
0
votes
3answers
477 views

All of my wordpress sites showing †Ù¥

This morning I was going to keep working on my Wordpress page, then when I put in the domain name it only showed this: †Ù¥ I then checked my other sites who I hadn't touched in a while and they also ...
0
votes
1answer
394 views

Question mark on special chars

Yesterday i was working on a file when notepad++ crashed. I then went in the backup folder of the program to restore the file. After the restoration, special chars (such as € or accented letters) are ...
1
vote
1answer
133 views

How to use Japanese characters for a single page

I've been asked to produce a single page on a client's Wordpress site that has a Japanese translation of key paragraphs from the site. The straight copy and paste from the translated text in a Word ...
15
votes
1answer
4k views

If a hacker changed the blog_charset to UTF-7 does that make WordPress vulnerable to further attacks?

I had a client who got hacked recently and I noticed that there were weird characters appearing on her site, like  and Æ. It turns out that the hackers changed the blog_charset to UTF-7 in the ...
0
votes
0answers
50 views

How to print out database content like declared in DB_CHARSET?

Ok i created some table with Romanian names "CREATE TABLE `wp_drzava` ( `ID` int(11) NOT NULL AUTO_INCREMENT, `Kod` varchar(2) NOT NULL, `Naziv` varchar(100) NOT NULL, `NazivSrb` varchar(100) ...
0
votes
1answer
42 views

Wordpress plugin problem with encoding

Ok I made wordpress contact form plugin. Basiclly in form i have dropdown list of states loaded from database. In db i have country name in Romanian. For example Federaţia Rusă Polinezia franceză ...
0
votes
0answers
39 views

Encoding Russian problem

I translated my plugin with poedit, and it works fine on localhost, but when i uploaded my files on server, some russian charachters missing. I get latin istead, i encoded poedite files with utf8, ...
0
votes
0answers
204 views

Incorrect output with get_attached_file()

I am having troubles with file encodings while retrieving file names with get_attached_file(). The line: get_attached_file( $attachment_id ); Is getting me results like: GAC_14_2_Selo-Casa-...
1
vote
1answer
282 views

Post editor loads empty

I am running WordPress 3.8 and I recently switched server, so didn't realize when the problem creep in but most likely its the server change and I need some help figuring it out. When I open post ...
0
votes
0answers
46 views

filter wptexturize doesn't work on old posts titles

I have an add_filter('the_content', 'wpt_content');. My function wpt_content does a wptexturize($text). But It's work only on save post, so my old post has bad 'and my new post ’. I don't ...
0
votes
1answer
178 views

Outputting HTML elements through WP-API

I am using WP-API to create a JavaScript app, where I am using http requests to pull content out of the WordPress database. For a regular post, I am not getting all element data that I expect. I put ...
0
votes
1answer
236 views

TinyMCE HTML Encode Backslash

so my question is similar to the one found here, following the example there i am trying to force Tiny MCE to encode backslashes...... currently all i am doing to test this is setting a break point ...
1
vote
0answers
103 views

esc_js() breaks unicode sequences by removing the slash '\' character

I've noticed that esc_js() is breaking unicode encoded characters by removing the '\' (slash) character. For example: esc_js('\u041f') returns: 'u041f' I can potentially use REGEX to identify ...
2
votes
1answer
302 views

Text cut off after the character 𪇆 in TinyMCE

I use the latest version of wordpress (v3.9.2, Taiwan Chinese Traditional), and found it can not display this Chinese word 𪇆, but other Chinese words can be displayed normally. I just use this word ...
0
votes
1answer
48 views

Admin encoding problem

My breadcrumbs plugin is taking blog name as starting point: blog name > category title > post title The problem is if I set the blog name in cyrillic characters it is desappearing as soon as "save"...
0
votes
1answer
119 views

wp-login.php ampersand in url results in 404

I've got this problem where the wordpress site will throw up a 404 if the wp-login.php has an ampersand appended after it (e.g. session expired argument). I've changed themes, disabled all plugins, ...
0
votes
1answer
484 views

Email Obfuscation: Is antispambot() Acceptable? [closed]

I've been looking into Email Obfuscation and trying to get away from obfuscation plugins when I ran across this code snippet[1]: function remove_plaintext_email($emailAddress) { $emailRegEx = '/([...
0
votes
2answers
34 views

Encoding Issue while using French in WordPress

I just migrated some content from another CMS [SPIP] into WordPress and I am seeing weird characters like ' Unité dans la diversité ', this is supposed to come in french but its not . Please let me ...
0
votes
0answers
130 views

Special characters showing in fallback font

I have created a widget that displays some text using a custom font imported with CSS @font-face. The font have support for scandinavian characters åäö, but when I display these characters in my ...
0
votes
1answer
2k views

Images are not showing after moving Wordpress installation from server to localhost?

I moved my wordpress installation from server to localhost on my pc using the instructions in the following link http://www.premiumwebbloghosting.com/2012/07/moving-wordpress-from-hosting-to-localhost....
2
votes
1answer
97 views

Wordpress problem with htmlentities

I make some changes over the post before storing it in the database. I use content_save_pre to do this. Some characters like " get done into &#8220; in the JavaSript code which I insert (part of ...
0
votes
1answer
1k views

How to pass post title (which could include &) to Gravity Form

I have created a form (Gravity Form) which I want to be able to complete dynamically from several of my other websites. In such a case, one of the fields that I am trying to send to the form is the ...
0
votes
0answers
116 views

Post removes any text from post that's following special characters

I have a weird problem with losing content in posts with special characters in it. Let's say I inserted the following content into a post: Hello, 👿 This is my post Wordpress would ...
1
vote
0answers
170 views

Symbols such as £ end up being  in the database

Any posts with symbols such as £ or & or ♥ end up being  or worse. It doesn't show in the admin panel on the edit post page, but it is saved in the database as  and shows on the actual live blog ...
1
vote
1answer
845 views

Post Content, Special Characters and Filters

I added a hook to the_content. add_filter('the_content', 'edit_the_content'); function edit_the_content($content){ return $content; } Pretty simple right? However, when it output $content from ...