Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9021923
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T05:22:24+00:00 2026-06-16T05:22:24+00:00

We have to upgrade to XE2 (from Delphi6). I collected many informations about this,

  • 0

We have to upgrade to XE2 (from Delphi6).

I collected many informations about this, but one of them isn’t clear for me.

We are using String – what is AnsiString in XE.

As I know we must replace all (P)Ansi[String/Char] in our libraries to avoid the side effects of Unicode converts, and to we can compile our projects.

It is ok, but we are also using TStringList, and I don’t found any TAnsiStringList class to change it simply… 😉

What do you know about this? Can this cause problems too? Or this class have an option to preserve the strings?

(Ok, it seems to be 3 questions, but it is one only)

The program / OS language is hungarian, the charset is WIN-1250, what have some strange characters, like Ő, and Ű…

Thanks for your every information, link, etc.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T05:22:25+00:00Added an answer on June 16, 2026 at 5:22 am

    1) 1st of all – WHY should u use AnsiStringList, rather than converting all your project to unicode-aware TStringList ? That should have certain detailed reasons, to suggest viable alternatives.

    Unicode is a superset of windows-1250, windows-1251 and such.
    Normally all you locale-specific string would be just losslessly converted to Unicode. IT is the opposite, Unicode to AnsiString, convertion that may loose data.
    Explicit or implicit (like AnsiChar reduction in “if char-var in char-set”)

    You may have type-unsafe API like in DLLs, where compiler cannot check if you pass PChar or PAnsiChar, but you anyway should not pass objects liek TStrings into DLLs, there are BPLs for that.

    So you probably just do not need TAnsiStringList

    2) you can take TJclAnsiStringList from Jedi Code Library

    3) You can use XE2 stock TList<AnsiString> type

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to Documentum, I have to upgrade one code from Documentum foundation
I have upgrade to xcode4.5 from 4.4, but i can't find ios simulator 4
I have recently upgrade from shared hosting to VPS hosting. But the VPS is
Background of project -> I have to upgrade the Linux embedded system remotely. This
On one machine I seemed to have upgrade to 1.8.7 -- mostly because of
This situation arose when I tried to upgrade Spring from version 2.1 to Spring
We currently use D2007 but are considering an upgrade to XE2. I can think
I have upgrade my MVC2 project to MVC3 using this tool: http://blogs.msdn.com/b/marcinon/archive/2011/01/13/mvc-3-project-upgrade-tool.aspx Which is
I have upgrade the project from framework3.5 to framework4.0.Right Now i am using Visual
I have to upgrade one existing application and neeed to split its existing UI

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.