Solved

French/spanish characters in Smarty template

Posted on 2010-09-17
2
803 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
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.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

623 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