Loading...
 
Skip to main content

Confirmation / Validation Emails upon registration encoding problem

Status
Closed
Subject
Confirmation / Validation Emails upon registration encoding problem
Version
2.x
3.x
Category
  • Error
  • Regression
Feature
Mail-in
User Administration (Registration, Login & Banning)
Resolution status
Invalid
Submitted by
dexl
Lastmod by
Ushindi Gedeon
Rating
(0)
Description

The registration email seems to give boxed char when mail templates are in french.

I had to add utf8_encode()
to LINE 2727 of lib/userslib.php
$mail_data = utf8_encode($smarty->fetch("mail/$mailTemplate.tpl"));
in order to correct the text display problem.


But when I debug with
$mail_data = mb_detect_encoding($smarty->fetch("mail/$mailTemplate.tpl"));

It return the tpl as already in UTF-8, but I had to utf-8 it again to correct it, can someone look into this?

Solution
Workaround
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
2737
Created
Tuesday 08 September, 2009 22:16:44 UTC
by Unknown
LastModif
Thursday 28 May, 2026 12:16:47 UTC


Show PHP error messages