Re: Turkish character set



Bob Richardson wrote:
"Jamie" <jamie_ka1lpa_not_valid_after_ka1lpa_@xxxxxxxxxxx> wrote in message news:S%8ah.214$ou.97@xxxxxxxxxxxxxxx

Bob Richardson wrote:


I can't insert all Turkish words into my Delphi 5 app. Some, like:


Oyun Þekli

don't appear correctly. The different "S" is shown as a ?

Is there someway to allow different character sets?



FONT.CharSet := 162;

You may have to set this on each control and you also need
to check if the vender of the font supports that language
on the selected font you're using.
to find the list.
look up TFONT.Charset in your delphi help.


This didn't work. When I look at the Turkish captions in Excel, they look fine (Arial font).
When I paste them to a Notebook txt file, they are replaced with the familiar blocky rectangle - looks like a black chad!

When I copy and paste them to Delphi, the "different" characters are replaced with "?". The ORD of the CHR is actually changed to a 63. Is this just a problem with Delphi 5 that has been solved in later versions?



is the text you're working with UNICHARs? those are WideChar fonts.
Look into that.


--
"I'm never wrong, once i thought i was, but was mistaken"
Real Programmers Do things like this.
http://webpages.charter.net/jamie_5

.



Relevant Pages

  • Re: Turkish character set
    ... Is there someway to allow different character sets? ... on the selected font you're using. ... When I copy and paste them to Delphi, ...
    (alt.comp.lang.borland-delphi)
  • Re: Space bewteen lines / font width
    ... With our Delphi program we are printing letters and invoices. ... Lately our marketing agency created a new housetyle for us, ... The marketing agency used a Arial font of the ... In my programs producing formatted text I usually place characters & ...
    (alt.comp.lang.borland-delphi)
  • Why not use forms ParentFont for Vista?
    ... I appreciate the discussion in this group and the articles about getting a Delphi application to work good on Vista. ... In Delphi-5 the default form font is MS Sans Serif and in Delphi-2005 the default form font is Tahoma. ... I initially thought of using some code to set the form's font to the Windows system font at runtime, but then I tried just setting all of the form's ParentFont to true and that seemed to work good and without any code. ... I searched all of the DFM files and made sure that all controls had ParentFont true except when it was necessary to change a control's font size or attribute. ...
    (borland.public.delphi.non-technical)
  • Re: Insert Symbols: All of Them
    ... Symbol dialog combines two different things: fonts and character sets. ... Unicode fonts such as Arial Unicode MS contain many more character sets than ... You can also choose a different font if the font you're ...
    (microsoft.public.word.docmanagement)
  • Re: Any good screen resolution components?
    ... Although it is a bitmapped font, it is still available in a range of sizes, ... so Delphi has enough size choices. ... I always run my PC at 96 DPI and do all my Delphi work at that resolution. ... If you change resolutions and reopen a project in Delphi, ...
    (borland.public.delphi.non-technical)