Project

General

Profile

Bug #411

Charset encoding problem in main/inc/lib/tablesort.lib.php (bug?)

Added by Carlos Vargas almost 10 years ago. Updated almost 10 years ago.

Status:
Feature implemented
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
07/12/2009
Due date:
% Done:

100%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

In the current zip archive of 1.8.5, when downloaded and dezipped on pc/Windows, I can't read the file without problems with special characters (there are in fact functions to replace special characters in text, I suppose, for sorting).

I don't know if it has some effect on php processing.

No problem with 1.8.4 version.

Comparing the two files, I also noticed that, at the end of the function, the last line in 1.8.4 version :

return $is_numeric;

has been removed in 1.8.5 version. I don't know if it is on purpose...

Thierry

History

#1

Updated by Carlos Vargas almost 10 years ago

Actualizado por Ivan Tcholakov hace 11 meses

Comment

About missing return $is_numeric; : Please, look at FS#3282.
If this is the same case, I can say that the missing return $is_numeric; has no purpose, it is a mistake. It has been fixed for the next release, 1.8.6.
#2
Actualizado por Thierry De Henau hace 11 meses

Comment

Ok, but you still have a charset problem, it seems. in this file, version 1.8.4, you have a lot of functions like:
function strtolower_keepaccents($txt) {
return strtolower(strtr($txt, "ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ", "àáâãäåæçèéêëìíîïðñòóôõöøùúûüýþ"));
}
(I wonder if this site will render it properly?) And I can see the file with different softwares under windows (Dreamweaver, Textpad).
With tablesort.lib.php version 1.8.5 I have a message (with Texpad) "the file contains characters that do not exist in code page 1252 (ANSI - latin-1)".

But maybe the fact that I can't see this file properly doesn't not make a problem for apache/php...

Thierry
#3
Actualizado por Yannick Warnier hace 10 meses

Comment

These functions were supposedly added to avoid problems when moving from upper to lowercase characters (and the opposite). Could you take a few screenshots to explain where you see this or detail a bit more WHEN this happens (because so far your description is not precise enough).
#4
Actualizado por Yannick Warnier hace 3 meses

  • Estado changed from Unconfirmed to More info needed * Asignado a deleted * Versión prevista changed from 1.8.5 to 1.8.6.2 * Complexity set to Average
#2

Updated by Yannick Warnier almost 10 years ago

  • Target version changed from 1.8.6.2 alpha to 1.8.6.2 beta
#3

Updated by Christian Alberto Fasanando Flores almost 10 years ago

it already was fixed for 1.8.6.2 version

#4

Updated by Christian Alberto Fasanando Flores almost 10 years ago

  • Status changed from New to Feature implemented
  • % Done changed from 0 to 100

Also available in: Atom PDF