Project

General

Profile

Actions

Bug #4229

closed

bindString (WTemplate) and utf-8 special chars

Added by Daniel Giguere over 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
06/23/2015
Due date:
% Done:

0%

Estimated time:

Description

The documentation of WTemplate's bindString says:

"Depending on the textFormat, the value is validated according as for a WText"

Thus I expect bindString to the same as binding a WText().

But using "bindString", special utf-8 chars like "é" will be replaced by "?", while binding the same text as a WText(), it display normally.

This a new bug: Wt 3.3.3 did not had this problem.

As a workaround, using "bindWindget(..., new WText(...))" will display the chars rightfully.


Files

TemplateError.zip (9.88 KB) TemplateError.zip Daniel Giguere, 06/23/2015 04:17 PM
Actions #1

Updated by Koen Deforche over 9 years ago

  • Status changed from New to Resolved
  • Assignee set to Koen Deforche
  • Target version changed from 3.3.4 to 3.3.5

This seems to be already resolved in current git.

I got this result:

This won't work: éç àèùì ûêâî
This will work: éç àèùì ûêâî
Actions #2

Updated by Koen Deforche about 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF