Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

French/spanish characters in Smarty template

Posted on 2010-09-17
2
Medium Priority
?
809 Views
Last Modified: 2012-05-10
Hi, it's my first project with smarty.

The text in the template contains spanish and french characters and when I 'use' the template these characters are not shown, however, the information from the db is ok when published and it also has those characters.

Where should I change the charset or what should I do with Smarty ? template ? php config ? should I decode/encode the template before using it ? should I save it in another format ?

Thanks in advance!
0
Comment
Question by:blueshaolin
2 Comments
 

Accepted Solution

by:
blueshaolin earned 0 total points
ID: 33720926
Thanks Ray, unfortunately that didn't solve the problem.

The solution was saving the template file in Unix/ANSI format.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question