czech language is not working in mail

General questions regarding the use of languages in Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
sandhya123
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Thu Nov 27, 2014 1:14 pm

czech language is not working in mail

Post by sandhya123 » Thu Nov 27, 2014 2:01 pm

Hello,

-I use czech language for my site but when i mail from my site than not convert some character in czech language its display its code like if i use ž character than it display &#382;

-If you want to check mail than please give me your email id so i set your email id and send mail in czech language and you can check it.

Thank you.

User avatar
H13
Joomla! Ace
Joomla! Ace
Posts: 1545
Joined: Sun Dec 10, 2006 6:39 pm
Location: Czech Republic
Contact:

Re: czech language is not working in mail

Post by H13 » Fri Nov 28, 2014 8:01 pm

Hi, which version of Joomla! you are using? Which extension sends the email? Is this core Joomla! Mostly it is used utf-8 encoding so this should not be any problem :idea:

Jan
- Phoca Cart - Joomla eCommerce App - https://www.phoca.cz/phocacart
- Phoca Gallery - powerful image gallery
- Phoca Restaurant Menu - https://www.phoca.cz/phocamenu
- Phoca Download - download manager for Joomla

sandhya123
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Thu Nov 27, 2014 1:14 pm

Re: czech language is not working in mail

Post by sandhya123 » Sat Nov 29, 2014 9:12 am

Hello,

First thank you for your reply.
I am using joomla 3.3.6 version and extension is jesportscoachprofile which is made by me and i am using this below function for send the email
$return = JFactory::getMailer()->sendMail($mailfrom, $fromname, $recepintemail, $subject, $message);

And also problem in default joomla pdf functionality when i make pdf in czech language its not converting some characters.

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: czech language is not working in mail

Post by infograf768 » Sat Nov 29, 2014 9:16 am

We do not have a pdf functionality in Joomla since 1.6.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

sandhya123
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Thu Nov 27, 2014 1:14 pm

Re: czech language is not working in mail

Post by sandhya123 » Sat Nov 29, 2014 11:33 am

Hello,

I am using dompdf to generate pdf

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: czech language is not working in mail

Post by infograf768 » Sat Nov 29, 2014 3:54 pm

you need specific unicode fonts to use tcpdf or dompdf.
DejaVu is quite good if I remember well.
As for your mail issue, you should check how you save your input. It should be in raw UTF8 and not html entities.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

User avatar
H13
Joomla! Ace
Joomla! Ace
Posts: 1545
Joined: Sun Dec 10, 2006 6:39 pm
Location: Czech Republic
Contact:

Re: czech language is not working in mail

Post by H13 » Sun Nov 30, 2014 7:37 pm

DejaVu is quite good if I remember well
Yes, confirmed, DejaVu Sans displays UTF-8 Czech characters

Anyway I had problems to display Czech or other UTF-8 characters ind dompdf, this is why I changed the PDF library to TCPDF - which is now used in Phoca PDF - You can test Phoca PDF or directly TCPDF to generate PDFs in your Joomla! Then you will know the used font includes Czech UTF-8 characters.

Where is the content of $message variable stored - it is stored in database (should not be any problem) or it is stored in file (possible problem with encoding - encode your file with UTF-8 without BOM in case the content is coming from file)

Jan
- Phoca Cart - Joomla eCommerce App - https://www.phoca.cz/phocacart
- Phoca Gallery - powerful image gallery
- Phoca Restaurant Menu - https://www.phoca.cz/phocamenu
- Phoca Download - download manager for Joomla

sandhya123
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Thu Nov 27, 2014 1:14 pm

Re: czech language is not working in mail

Post by sandhya123 » Wed Dec 10, 2014 1:45 pm

Hello,

-which code i use or how to replace dompdf to tcpdf ? please guide me for this.

Thank you


Locked

Return to “Language - Joomla! 3.x”