The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
9 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
0answers
16 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
37 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: ...
0
votes
1answer
20 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
21 views

How to replace one code with another

How to replace the following codes in my posts <pre><code> with [code] and </code></pre> with [/code] The fact that I have 800 posts doing it one by one is not an option
0
votes
0answers
16 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
19 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
26 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
34 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 ...
0
votes
1answer
39 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 - ...
2
votes
1answer
119 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
29 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 ...
0
votes
1answer
415 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', ...
0
votes
1answer
48 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
104 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
26 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
28 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
0answers
61 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
0answers
23 views

Database Encoding and Editor Issue

I can't figure out what's going on. On a dev site, a whole bunch of question marks are showing up: [http://192.185.118.90/~saintros/school/about/meet-faculty-staff/]. Also, when I go in to edit that ...
0
votes
1answer
1k 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 ...
1
vote
1answer
74 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
1answer
446 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
66 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 ...
0
votes
0answers
229 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 ...
1
vote
0answers
117 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
400 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 ...
0
votes
1answer
50 views

Non english charcters support for WP Customer Reviews

I've been looking all over for a fix for WP Customer Reviews. It is showing question marks on submitted reviews when entering none English characters. The translation it self is quite trivial, You ...
1
vote
2answers
542 views

What is WordPress file encoding?

I noticed that WordPress files use UNIX end-of-line and UTF-8 without BOM. Is this a standard that should be used? Is there anything else to pay attention to? I noticed that Filezilla fails to ...
0
votes
1answer
425 views

Multisite Â&nbsp wrong encoding problem

After I upgraded multisite system from 3.5 to 3.5.1, I started having a weird encoding problem - all &nbsp are rendered as Â&nbsp. All of my pages (as well as the DB entries) are UTF-8 ...
0
votes
1answer
83 views

Wordpress Dashboard Characters Messed Up

I recently added a new post, and afterwards, many of the text lines on the wordpress dashboard appear messed up, almost as if they are protecting from a security breach or something. I have tried ...
2
votes
1answer
823 views

How to increase the character limit for post name of 200?

I have post name in Thai which uses UTF-8 character. Many of them encode into super long in ASCII e.g. วิธีการหลีกเลี่ยงข้อผิดพลาดทั้ง-8-ในชีวิตการแต่งงาน I've changed the type of "post_name" using ...
5
votes
1answer
132 views

Add whitespace between Chinese and other letters

I want to add a space between a Chinese character and a letter or a number to make the article more readable. For example: Google与Apple展开的专利大战在2天之前结束。 Google 与 Apple 展开的专利大战在 2 天之前结束。 But ...
12
votes
1answer
3k 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 ...
2
votes
2answers
873 views

WordPress Database Charset/Collate

Is there an easy way of getting the charset and collation of the DB tables in WordPress without resorting to SQL queries?
0
votes
1answer
279 views

encoded search terms with %20

<form class="search-form" action="<?php echo home_url( '/suche/' ); ?>" method="get"> <input type="text" name="s" class="s" value="<?php the_search_query(); ?>" /> this ...
0
votes
1answer
749 views

UTF8 Encoding problems when exporting posts

I have a Wordpress installation with MySQL encoded as utf8_general_ci. I'm trying to export it using wordpress' export tool, but the result XML breaks some special characters such as "é", "ê", etc ...
1
vote
2answers
777 views

Apostrophes showing up as ΓÇÖ after converting from Windows to Linux

I'm trying to move my WordPress blog from Windows to Linux, but I'm seeing a weird character encoding problem in the Linux version that I'm not seeing on Windows. (I had thought it was an issue with ...
1
vote
3answers
1k views

Text cut off on save

I am using WP 3.4. My problem occurs when I attempt to copy and paste anything into the post or page editor of WordPress. The situation arises every time I save or attempt to preview the post. The ...
0
votes
1answer
103 views

Language selection for blog doesn't exist?

I've been installing and developing on Wordpress for a while with a focus on sites in Hebrew. Recently I moved a site from a multi-site installation I have for development to it's own hosting and ...
2
votes
2answers
6k views

How can I stop TinyMCE from converting my HTML entities to characters?

Here's the problem: I paste the HTML entity code for, let's say, a service mark (&#8480;) into the HTML view of the editor. As soon as I switch to the "visual" tab, my entity code is turned into ...
1
vote
1answer
1k views

How to get my post title to work with an apostrophe ('s)?

When saving a post with the title Jule's Gormet, it gets formatted as Jule&#039;s Gormet. If I save it again, it becomes Jule&amp;#039;s Gormet. Following this pattern, it keeps escaping ...
1
vote
1answer
854 views

How to encode post content as JSON?

I`m trying to construct a json object but are having difficulties with the_content since it returns newlines, which causes the script to fail. The error messages received is: Uncaught SyntaxError: ...
-1
votes
1answer
480 views

Fix encoding ’ [closed]

I moved my hosting provider and now the encoding is messed up. See here for example. In the past commenting out the follwoing lines fixed the issue for me, but not this time: ...
1
vote
1answer
489 views

Non latin post slug truncate

I created a custom post type and set its permalink structure to 'category/postname'. I found that sometimes, when i create a post in a non latin characters, the post slug is getting cut. I googled ...
0
votes
1answer
1k views

UTF-8 Characters in URL - IE problem

I'm trying to create Google calendar links from posts, I do it like so: $base_url = 'http://www.google.com/calendar/event'; $params = array( 'action' => 'TEMPLATE', ...
0
votes
1answer
293 views

Outputting post title without encoding

I'm setting up a way to feed the title of a WP post as the title argument for a reddit button. It works fine unless there is an encoded character in the string: apostrophe&#8217;s break things. ...
0
votes
2answers
387 views

How to deal with apostrophes

I'm doing an INSERT into a wordpress table and anything with an apostrophe is coming out It\'s true I tried using htmlspecialchars but I'm still getting the backslash. Is there any way to write ...
2
votes
2answers
186 views

How to diagnose and keep in check encoding issues?

What we have for a project is: multiple sites (production, test, local development); migrated by multiple methods (PHPMyAdmin, Navicat, BackupBuddy); And the issue we are having is that while ...
0
votes
1answer
448 views

Problem with UTF8. italian/russian characters

I'm using an RSS feed importer. When i preview the feed, the special characters such as è,à and so on are throwing out gibberish. Searching on the WP.org forum I came across the suggestion to add the ...
2
votes
1answer
38 views

Site Rss not seen by browser

We have a site http://ort.org.il built with WP 3.1.2. Its RSS address should be http://ort.org.il/feed/, but nothing shows up there. I can see the feed in the View Source, but not in the browser, and ...