Title: Utilizing WP&#8217;s encoding/formatting functions
Last modified: August 18, 2016

---

# Utilizing WP’s encoding/formatting functions

 *  [kgosser](https://wordpress.org/support/users/kgosser/)
 * (@kgosser)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/utilizing-wps-encodingformatting-functions/)
 * Hey everyone.
 * I have a blog up and running and it works well: [http://www.dp3marketing.com/blog/](http://www.dp3marketing.com/blog/)
 * I’d like to pull the latest titles from the wp-database to put on the homepage.
   I created some PHP scripts to pull the info, and it works well. You can view 
   it here:
 * [http://www.dp3marketing.com/test.php](http://www.dp3marketing.com/test.php)
 * I can’t figure out how to get the encoding/formatting to work properly on the
   text. Can anyone tip me on a WP function that I can run `post_excerpt`, `post_title`,
   etc, through to format it correctly?
 * Sorry… I’m very much a PHP novice.
 * Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [kgosser](https://wordpress.org/support/users/kgosser/)
 * (@kgosser)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/utilizing-wps-encodingformatting-functions/#post-405172)
 * bump. any help?
 *  Thread Starter [kgosser](https://wordpress.org/support/users/kgosser/)
 * (@kgosser)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/utilizing-wps-encodingformatting-functions/#post-405240)
 * Nevermind, I figured it out. I just changed the charset to UTF-8.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Utilizing WP’s encoding/formatting functions’ is closed to new replies.

## Tags

 * [encoding](https://wordpress.org/support/topic-tag/encoding/)
 * [formatting](https://wordpress.org/support/topic-tag/formatting/)
 * [text](https://wordpress.org/support/topic-tag/text/)

 * 2 replies
 * 1 participant
 * Last reply from: [kgosser](https://wordpress.org/support/users/kgosser/)
 * Last activity: [19 years, 11 months ago](https://wordpress.org/support/topic/utilizing-wps-encodingformatting-functions/#post-405240)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
