View Issue Details

IDProjectCategoryView StatusLast Update
0004625JEDI VCL00 JVCL Componentspublic2009-10-03 19:29
ReporterdeboseAssigned ToAHUser 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product VersionDaily / GIT 
Target VersionFixed in Version3.39 
Summary0004625: TJvDBGridHTMLExport loses Unicode symbols on save in D2009
Descriptionseems like that's happens, in DoSave procedure. Here is the code:
procedure TJvDBGridHTMLExport.DoSave;
begin
  inherited DoSave;
  FDocument.SaveToFile(FileName);
end;

i suppose, that for Delphi 2009 it should look like
procedure TJvDBGridHTMLExport.DoSave;
begin
  inherited DoSave;
  FDocument.SaveToFile(FileName
    {$IFDEF COMPILER12_UP}
    , TEncoding.UTF8 // or any other Unicode encoding
    {$ENDIF}
   );
end;
Additional Informationsame thing is with TJvDBGridCSVExport.DoSave
TagsNo tags attached.

Activities

obones

2008-12-19 01:04

administrator   ~0015113

I think it would be better to add an overload for Save that accepts the encoding

debose

2008-12-20 15:50

reporter   ~0015118

p.s. i think, that it would be better to completely remove saving feature from this component, and allow it(component) to return Html text somehow.

AHUser

2009-10-03 19:29

developer   ~0016238

Added property Encoding: TEncoding to HTML, CSV and XML Export

Issue History

Date Modified Username Field Change
2008-12-17 14:40 debose New Issue
2008-12-19 01:04 obones Note Added: 0015113
2008-12-19 01:04 obones Status new => acknowledged
2008-12-20 15:50 debose Note Added: 0015118
2009-10-03 19:29 AHUser Note Added: 0016238
2009-10-03 19:29 AHUser Status acknowledged => resolved
2009-10-03 19:29 AHUser Fixed in Version => Daily / SVN
2009-10-03 19:29 AHUser Resolution open => fixed
2009-10-03 19:29 AHUser Assigned To => AHUser