Opened 12 years ago
Last modified 12 years ago
#1725 new defect
TolExcel no lee el carácter €
Reported by: | Manuel Locubiche Malaxechevarria | Owned by: | Pedro Gea |
---|---|---|---|
Priority: | high | Milestone: | Mantainance |
Component: | TolPackage | Version: | 3.1 |
Severity: | critical | Keywords: | |
Cc: |
Description
TolExcel no lee el carácter "€".
Por ejemplo:
#Require TolExcel; Real id = TolExcel::CppTools::Open("test.xls"); Real TolExcel::CppTools::ActivateNamedWS(id, "Hoja1"); Set ws = TolExcel::CppTools::ReadRange(id, [[1,1]], [[3,3]]); Real TextLength(ws[2][2]); // => 0
Attachments (1)
Change History (9)
Changed 12 years ago by
comment:1 Changed 12 years ago by
comment:3 Changed 12 years ago by
En Windows sigue sin funcionar bien, cuando aparece un caracter especial se interrumpe la cadena.
Por ejemplo, si el contenido de la celda fuese: "42€3 £ zž /ʒ/ sss"
obtendríamos "42"
.
Lo más parecido que he conseguido es: "42¬3 £ z~ /’/ sss"
usando:
case BasicExcelCell::WSTRING: { const wchar_t * u_string = cell->GetWString(); std::wstring w3(u_string); std::string s3(w3.begin(), w3.end()); result = new BContensText(s3.c_str()); } break;
comment:4 Changed 12 years ago by
comment:6 Changed 12 years ago by
comment:7 Changed 12 years ago by
Note: See
TracTickets for help on using
tickets.
(In [5999]) refs #1725, celdas con contenido WSTRING no estaban siendo tratadas, pendiente compilar y probar en windows