Solved

French/spanish characters in Smarty template

Posted on 2010-09-17
2
796 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
 
LVL 109

Expert Comment

by:Ray Paseur
ID: 33701171
0
 

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to dynamically set the form action using jQuery.
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…

777 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