Quellcode durchsuchen

- AnsiToUtf8 is a bad idea for Delphi 7, UTF8Encode should be used

git-svn-id: http://zengl.googlecode.com/svn/branches/0.3.x@1977 6573c10b-8653-0410-9706-d32479e959fb
dr.andru vor 12 Jahren
Ursprung
Commit
890150a0ed
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      demos/Delphi 7/06 - Text/demo06.dpr

+ 2 - 2
demos/Delphi 7/06 - Text/demo06.dpr

@@ -50,9 +50,9 @@ begin
   batch2d_Begin();
 
   // RU: ZenGL ðàáîòàåò èñêëþ÷èòåëüíî ñ êîäèðîâêîé UTF-8, ïîýòîìó âåñü òåêñò äîëæåí áûòü â UTF-8. Åñëè íåîáõîäèìî âûâåñòè êàêîé-ëèáî òåêñò(íå àíãëèéñêèé)
-  //     èñïîëüçóÿ ñòðîêè âíóòðè pas-ôàéëîâ è Delphi âåðñèè íèæå 2009, íåîáõîäèìî èñïîëüçîâàòü ôóíêöèþ AnsiToUtf8.
+  //     èñïîëüçóÿ ñòðîêè âíóòðè pas-ôàéëîâ è Delphi âåðñèè íèæå 2009, íåîáõîäèìî èñïîëüçîâàòü ôóíêöèþ UTF8Encode.
   // EN: ZenGL works only with UTF-8 encoding, so all text should be encoded with UTF-8. If you want to write some text(not English) using strings
-  //     inside pas-files and version of Delphi is lower than 2009, then you need to use function AnsiToUtf8.
+  //     inside pas-files and version of Delphi is lower than 2009, then you need to use function UTF8Encode.
 
   text_Draw( fntMain, 400, 25, 'String with center alignment', TEXT_HALIGN_CENTER );