Welcome, Guest
Username: Password: Remember me
Discussions for CodeTyphon Studio Installation and Setup.
  • Page:
  • 1

TOPIC:

Cyrrilic letters in %USERPROFILE% are unprovided? 11 years 11 months ago #2839

  • Vladimir Los
  • Vladimir Los's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 8
  • Thank you received: 0
Lazarus could not find (and store) cfg info in my USERPROFILE dir where cyrrilic letters exist.
It's strings look like "C:\Documents and Settings\???????????\Application Data\lazarus32" .....

Please Log in or Create an account to join the conversation.

Cyrrilic letters in %USERPROFILE% are unprovided? 11 years 11 months ago #2840

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Your OS Sir
and more info please.
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Cyrrilic letters in %USERPROFILE% are unprovided? 11 years 11 months ago #2841

  • Vladimir Los
  • Vladimir Los's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 8
  • Thank you received: 0
Win XP SP3

Please Log in or Create an account to join the conversation.

Cyrrilic letters in %USERPROFILE% are unprovided? 11 years 10 months ago #2992

  • ekir
  • ekir's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 33
  • Thank you received: 6
And me too (OS Win7): "C:\Documents and Settings\?????????\AppData\Roaming\lazarus32". Where is a problem?

Please Log in or Create an account to join the conversation.

Cyrrilic letters in %USERPROFILE% are unprovided? 11 years 10 months ago #3013

  • 4aiman
  • 4aiman's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12

ekir wrote: And me too (OS Win7): "C:\Documents and Settings\?????????\AppData\Roaming\lazarus32". Where is a problem?

That's because of windows poor unicode support.
Generally, whether you have "ANSI strings" option enabled or not - all messages within ide and all lcl dialogs would use utf8.
So if you concerned about showmessage or IDE messages window - there still no fix for that.
But if you try to access that folder then the best you can do is to use utf8tosys() function. It will not fix dialogs, but you would access your folder.
The best solution is to disable ANSI strings and then use utf8tosys() whenever you are using your hdd.
コンソールマニアック

Please Log in or Create an account to join the conversation.

Last edit: by 4aiman.

Cyrrilic letters in %USERPROFILE% are unprovided? 11 years 10 months ago #3047

  • Dmitriy
  • Dmitriy's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0

4aiman wrote: Generally, whether you have "ANSI strings" option enabled or not - all messages within ide and all lcl dialogs would use utf8.


How to do it to successfully install?

Please Log in or Create an account to join the conversation.

Cyrrilic letters in %USERPROFILE% are unprovided? 11 years 9 months ago #3117

  • Arioch
  • Arioch's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 59
  • Thank you received: 1
Which codepage would use utf8tosys() for output ?
Would it be GetACP() or GetOEMCP() ?

Please Log in or Create an account to join the conversation.

Cyrrilic letters in %USERPROFILE% are unprovided? 11 years 9 months ago #3186

  • ekir
  • ekir's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 33
  • Thank you received: 6
Good Day, 4aiman! Можно перейти на родную мову, а то у меня аглицкий хромает?
Не стал я лезть в исходники управляющего центра Code Typhon, просто создал еще одного пользователя на компутере (на латинице) и спокойно проинсталлировался. Написал уже одну служебную программку (формирование lrs-файла), попутно разобравшись с уровнями использования UTF8 и Ansi. А вот вчера закончил первую прикладную программу с использованием Zeos+SQLite - и споткнулся. В каталоге с кириллицей программа не запускается - Zeos не видит Dll. Сутки колупал исходники Zeos, но до решения проблемы так и не докопался. Попутно грохнул Lazarus, пришлось заново инсталлироваться. Видимо, открытий чудных будет еще много.

Please Log in or Create an account to join the conversation.

Last edit: by ekir.

Cyrrilic letters in %USERPROFILE% are unprovided? 11 years 9 months ago #3187

  • Arioch
  • Arioch's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 59
  • Thank you received: 1
скорее всего хранит пути в utf8 и так их в винду и отправляет, забывает обратно перекодировать

запусти Process Monitor и смотри что реально пытается программа сделать

Please Log in or Create an account to join the conversation.

Cyrrilic letters in %USERPROFILE% are unprovided? 11 years 9 months ago #3191

  • Konstantinos Papadoulas
  • Konstantinos Papadoulas's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 131
  • Thank you received: 19
PLEASE USE ENGLISH LANGUAGE IN YOUR POSTS!!!

Please Log in or Create an account to join the conversation.

Cyrrilic letters in %USERPROFILE% are unprovided? 11 years 9 months ago #3193

  • Arioch
  • Arioch's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 59
  • Thank you received: 1
@papadouk Sorry.
Do u have stats, how many users from ex-USSR are visiting this forum ?
Maybe this number is worth making Russian-only forum section ?

FreePascal.ru seems targeting vanilla Lazarus and does not have neither forum section nor version monitoring for CT

Please Log in or Create an account to join the conversation.

Cyrrilic letters in %USERPROFILE% are unprovided? 11 years 9 months ago #3194

  • Konstantinos Papadoulas
  • Konstantinos Papadoulas's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 131
  • Thank you received: 19
Yet this section is an ENGLISH writing section of the forum.

Please read the Forum Rules and follow them.

Do u have stats, how many users from ex-USSR are visiting this forum ?
Maybe this number is worth making Russian-only forum section ?

If there are requests for a seperate, Russian-only section in this forum, i am more than happy to support them. But at least these requests
should come in a formal way and not forcing it's way through.

I don't want to be misunderstood. I am not whining for a word or two or even a greeting message in your native language (after all i have
done it myself to other Greek members of this forum) but i am against braking the forum rules. If you guys have something to share please
do it in English (at least in this section of the forum) for the rest of us to be able to follow you.

We do have a lot to learn from each other.

Thank you for your understanding.

Kostas

Please Log in or Create an account to join the conversation.

Last edit: by Konstantinos Papadoulas.

Cyrrilic letters in %USERPROFILE% are unprovided? 11 years 9 months ago #3195

  • Arioch
  • Arioch's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 59
  • Thank you received: 1
Surely making forum a mess of all the languages around the globe would be a bad thing.

Personally i'd even not enjoy having Russian section - exactly for dividing community.
But those two are barely speaking English.

For example i can hardly understand what 4aiman told above, whether he meant that MS Windows had bad Unicode support (which is false) or that FPC/Laz/CT have bad unicode support on Windows target (which is probably true as this software stack was at the same time mostly developed by westerners and was mainly developed on UNIX-like OSes - together that makes proper support of national languages in Windows very unlikely).

So, well, those two would definitely benefit from Russian-only section. The question is whether there are more potential visitors of that. But that requires stats that we cannot have.

Some forum engines make language a property of each thread, not section. And each user just sets himself a filter of which languages he wants to see. That is arguable the most versatile approach, but it is very rarely used in the wild :-)

Please Log in or Create an account to join the conversation.

Last edit: by Arioch.

Cyrrilic letters in %USERPROFILE% are unprovided? 11 years 9 months ago #3262

  • 4aiman
  • 4aiman's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
Haven't tried last release yet, but CT 1.6 to 3.20 always could find my profile (if the CT itself was compiled)
コンソールマニアック

Please Log in or Create an account to join the conversation.

  • Page:
  • 1