dolibarr-bugtrack
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-bugtrack] [Bug #1236] Replace %s and %d except for FormatXXX s


From: Doliforge
Subject: [Dolibarr-bugtrack] [Bug #1236] Replace %s and %d except for FormatXXX strings
Date: Sat, 15 Mar 2014 15:16:00 +0200

Doliforge
Is this email not displaying correctly?
update email preferences.

Replace %s and %d except for FormatXXX strings

Latest modifications

2014-03-15 15:15 (Europe/Athens)
When I send a new password to send the characters look like below

Ο νέος σας κωδικός για το Dolibarr

After I made the change user/class/user.class.php line 1499 and the problem was corrected.
$ subject = $ outputlangs-> transnoentitiesnoconv ("SubjectNewPassword");

If I can find nowhere else corresponding problem to post them here?

Answer now

Snapshot

 Details
Last Modified On:  2014-02-24 12:50 Submitted by:  Nikos Drosis (ndrosis)
Submitted on:  2014-02-04 23:23 
Summary:  Replace %s and %d except for FormatXXX strings
Description:  Show correct characters utf-8 for Greece and other language
Step to reproduce bug:  Edit file translate.class.php

// Crypt string into HTML
$str=htmlentities($str,ENT_QUOTES,$this->charset_output);

to

// Crypt string into HTML
$str=htmlspecialchars($str,ENT_QUOTES,$this->charset_output);
Detected in version:  3.5.0 Category:  Core Problem
Severity:  5 - Major OS Type/Version:  
PHP version:   Database type and version:  
 Status
Status:  Need more info Assigned to:  Laurent Destailleur (eldy)
Resolution:  Fixed 

Comments

Nikos Drosis 2014-03-15 15:16
When I send a new password to send the characters look like below

Ο νέος σας κωδικός για το Dolibarr

After I made the change user/class/user.class.php line 1499 and the problem was corrected.
$ subject = $ outputlangs-> transnoentitiesnoconv ("SubjectNewPassword");

If I can find nowhere else corresponding problem to post them here?
Laurent Destailleur 2014-02-08 03:39
This fix will create bugs somewhere else.
I made recent fix into 3.5 branch that should solve problem. If you find other, please complete this ticket with screenshot (done onto last 3.5 code into 3.5 branch).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]