Project

General

Profile

Actions

Support Request #135

closed

Drawer does not support UTF-8 characters

Added by hidden about 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Customer:
AUDI
Department:
AEV
Requester's Priority:
Normal
Support Level:
3rd Level
Resolution:
Product Issue Opened
Platform:
Windows 7 64bit
Topic:
DisplayTB::2DDisplay
FAQ Links:

Description

Supportanfrage:

Ist es möglich Umlaute in Drawern zu schrieben?

std::string displayText;
displayText = "Keine \xc3\x9c berholmöglichkeit";
if (!displayText.empty()) pCanvas->OutputText(DISPLAYTEXT_XPOS, DISPLAYTEXT_YPOS, "%s", displayText.c_str());

funktioniert leider nicht. Ich nehme also die UTF-Codierung von Hand vor.

Ein kleines Testprogramm:

// Example program
#include <iostream>
#include <string>

int main()
{
    std::string displayText;
    displayText = "Keine \xc3\x9c berholmöglichkeit";
    printf("%s \n", displayText.c_str());
}

funktioniert hingegen schon.

Lösung:

ADTF nutzt zur Darstellung der Zeichen am Display OpenGL + den ASCII-Zeichensatz, der keine Umlaute enthält.
Ich hab zu dieser Anforderung für die Display Toolbox für ADTF 3 ein Produktticket erstellt.
Im AEV-Redmine: http://km-aev.in.audi.vwg/redmine/issues/37952


Files

Unbenannt.JPG (16.2 KB) Unbenannt.JPG hidden, 2017-01-30 11:36
AffectedProducts.JPG (33.3 KB) AffectedProducts.JPG hidden, 2017-01-31 06:15
Actions #1

Updated by hidden about 7 years ago

Ergebnis sieht so aus:

Genauer die Frage: Welcher Zeichensatz wird intern verwendet? Wenn ich mir die Ausgabe anschaue, gibt es ja schon noch weitere Zeichen als das Standart UTF 8....

Actions #2

Updated by hidden about 7 years ago

  • Product Issue Numbers set to http://km-aev.in.audi.vwg/redmine/issues/37952
  • Status changed from New to Customer Feedback Required
  • Private changed from Yes to No
  • Topic set to DisplayTB::2DDisplay

An den Anwender:

Hallo Raphael,

welche Display Toolbox Version verwendest du?
Du hast im Ticket Header ADTF 2.X ausgewählt mit einer ADTF 3.X passenden Display Toolbox.

Zu deiner Frage:

ADTF nutzt zur Darstellung der Zeichen am Display OpenGL + den ASCII-Zeichensatz, der keine Umlaute enthält.
Ich hab zu dieser Anforderung für die Display Toolbox für ADTF 3 ein Produktticket erstellt.
Im AEV-Redmine: http://km-aev.in.audi.vwg/redmine/issues/37952

Bitte um kurzes Feedback, damit wir das Ticket schließen können.

Actions #3

Updated by hidden about 7 years ago

Ich verwende die Display Toolbox 2.1.1. In eurer Listbox kann man diese aber nicht auswählen:

Actions #4

Updated by hidden about 7 years ago

  • Affected Products ADTF Display Toolbox 2.1.1 added
  • Affected Products deleted (ADTF Display Toolbox 3.0.0)
Actions #5

Updated by hidden about 7 years ago

  • Subject changed from Umlaute in Drawer to Drawer does not support UTF-8 characters
  • Description updated (diff)
  • Status changed from Customer Feedback Required to To Be Closed
  • Resolution set to Solved Issue
  • Support Level changed from 2nd Level to 3rd Level
  • Customer set to AUDI/VW
  • Department set to AEV

@Florian, Ticket kann geschlossen werden.

Actions #6

Updated by hidden about 7 years ago

  • Status changed from To Be Closed to Closed
  • Resolution changed from Solved Issue to Product Issue Opened
Actions #8

Updated by hidden about 7 years ago

  • Customer changed from AUDI/VW to AUDI
Actions

Also available in: Atom PDF