Autor Beitrag
avenger
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 90



BeitragVerfasst: Mi 10.02.10 16:36 
Hallo,

Habe ein unit mit einem Array und moechte eine Russischen Zeichenstring einfuegen. Habe eine uebersetzte Txt Datei
mit folgendem Wort 'файл' (Datei). Wenn ich dieses kopiere und im Quelltext einfuege, dann fuegt Delphi (Version 7) nur Fragezeichen ein. Kann cih das abstellen ?
Xion
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
EE-Maler
Beiträge: 1952
Erhaltene Danke: 128

Windows XP
Delphi (2005, SmartInspect), SQL, Lua, Java (Eclipse), C++ (Visual Studio 2010, Qt Creator), Python (Blender), Prolog (SWIProlog), Haskell (ghci)
BeitragVerfasst: Mi 10.02.10 16:42 
webdesign.about.com/...l/blhtmlcodes-ru.htm

Normal müsste Delphi das so verstehen:

ausblenden Delphi-Quelltext
1:
Label1.Caption:=#1092;					


Musst halt für das Label dann eine Schriftart wählen die das darstellen kann

_________________
a broken heart is like a broken window - it'll never heal
In einem gut regierten Land ist Armut eine Schande, in einem schlecht regierten Reichtum. (Konfuzius)
avenger Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 90



BeitragVerfasst: Mi 10.02.10 17:22 
Bitte Bitte sagt mir das es noch eine andere Loesung gibt. Sogar Notepad kann das ohne Probleme richtig anzeigen.
elundril
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Mi 10.02.10 17:32 
meinst du im Quelltexteditor oder im Programm. Weil im Programm ist es klar, Delphi7 Komponenten sind nicht von haus aus Unicodefähig.

lg elundril

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Mi 10.02.10 18:06 
Wenn du Delphi 2009 oder neuer benutzt, geht das automatisch. Für Delphi7 gibt/gab es die TNT Unicode Controls. Die wurden zwar aufgekauft und kosten jetzt was, aber die älteren freien Versionen (die auch gut funktionieren) gibt es noch an einigen Stellen im Netz.

_________________
We are, we were and will not be.
avenger Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 90



BeitragVerfasst: Mi 10.02.10 21:27 
Ja klar im Programm,

Ich habe eine unit in der ich ein Array of String ich mit den Russischen Woertern fuellen will. Im Programm werden dann nachher alle moeglichen Captions und Texte ausgetauscht. Weisst du ob die TNT unicode diese Zeichen dann bereits im Quelltext zulassen. Wo kann ich ne aeltere Version finden, finde nur die aktuelle fuer 90 Euro :-(
AlexII
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 180



BeitragVerfasst: Mi 10.02.10 21:32 
Also im Quellcode geht das nicht, also ich habe es nicht hinbekommen. Was willst du überhaupt machen, ein Prog mehrsprachig gestalten?
avenger Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 90



BeitragVerfasst: Mi 10.02.10 22:01 
Ja mehrsprachiges User Interface, wollte allerdings alles in die Unit packen weil ich keine externen sprachdateien haben wollte.
AlexII
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 180



BeitragVerfasst: Mi 10.02.10 22:10 
Oh... das ist schwer, ich habe es nicht hinbekommen.
Blackheart666
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2195

XP
D3Prof, D6Pers.
BeitragVerfasst: Mi 10.02.10 22:18 
avenger Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 90



BeitragVerfasst: Mi 10.02.10 22:29 
Den Link kenn ich. Wie gesagt wollte das alles im Source unterbringen. Leider bin ich erste jetzt auf das Problem mit den Kyrillischen Zeichen gestossen. Weiss auch nicht ob das via .rs Datei so einfach gehen wuerde.

Eben wurde Delphi 2009 erwaehnt. Kann D2009 das im Quelltext ?
Blackheart666
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2195

XP
D3Prof, D6Pers.
BeitragVerfasst: Mi 10.02.10 23:07 
user profile iconGausi hat folgendes geschrieben Zum zitierten Posting springen:
Wenn du Delphi 2009 oder neuer benutzt, geht das automatisch. Für Delphi7 gibt/gab es die TNT Unicode Controls. Die wurden zwar aufgekauft und kosten jetzt was, aber die älteren freien Versionen (die auch gut funktionieren) gibt es noch an einigen Stellen im Netz.

Hier ein Link dazu www.axolot.com/TNT/
avenger Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 90



BeitragVerfasst: Mi 10.02.10 23:38 
Muss zugeben das Problem hab ich unterschaetzt, die TNT Komponenten sind zwar schoen und gut aber ich nutze auch so kompos wie die z.b die TMS Treelist, und wenn ich das richtig sehe muesste ich jedes einzelne edit feld austauschen. Junge junge da hab ih mir aber ganz schoen eins reingewuergt.........
Xentar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2077
Erhaltene Danke: 2

Win XP
Delphi 5 Ent., Delphi 2007 Prof
BeitragVerfasst: Do 11.02.10 00:01 
user profile iconavenger hat folgendes geschrieben Zum zitierten Posting springen:
und wenn ich das richtig sehe muesste ich jedes einzelne edit feld austauschen. Junge junge da hab ih mir aber ganz schoen eins reingewuergt.........

Bei den GExperts ist nen Tool dabei, namens "Replace Components". Wenn die Properties gleich heißen könntest das damit vielleicht automatisieren.

_________________
PROGRAMMER: A device for converting coffee into software.
Garf
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 54
Erhaltene Danke: 2


D3Prof, D7PE, TDE
BeitragVerfasst: Do 11.02.10 10:04 
user profile iconavenger hat folgendes geschrieben Zum zitierten Posting springen:
... wenn ich das richtig sehe muesste ich jedes einzelne edit feld austauschen. ...
Oder Himitsus TNT Hack benutzen.