ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Alexey Novikov" <Shader@yandex.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Re: Q:rdesktop
Date: Mon, 23 Aug 2004 16:59:13 +0400 (MSD)
Message-ID: <4129EA21.000030.20234@camay.yandex.ru> (raw)
In-Reply-To: <4129D34D.000018.09165@pantene.yandex.ru>

  Привет Всем!
Вобщем после ковыряния в исходниках 1.3.1-alt2 пришел к выводу,
что перекодировка (по крайней мере относящаяся к username) там 
осуществляется только в одном месте, в функции rdp_out_unistr
файла rdp.c. Специалисты по Юникоду, АУ-У-У-У!!!:) Объясните
плиз, что следующие строки могут означать??? 

/* Output a string in Unicode */
void
rdp_out_unistr(STREAM s, char *string, int len)
{
	int i = 0, j = 0;

	len += 2;

	while (i < len)
	{
		s->p[i++] = string[j++];
		s->p[i++] = 0;
	}

	s->p += len;
}

Если я не сильно ошибаюсь, то это Latin-1? Пошел на unicode.org,
если я прав, то будем патчить.
-- 
С уважением,
Алексей Новиков


  reply	other threads:[~2004-08-23 12:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-20 10:21 [comm]Q:rdesktop Alexey Novikov
2004-08-23  4:47 ` [comm]Q:rdesktop Mihail V. Tsimbalov
2004-08-23  6:44   ` [comm]Q:rdesktop Alexey Novikov
2004-08-23  7:03     ` [comm]Q:rdesktop Alexey Novikov
2004-08-23  7:21       ` [Comm] Re: Q:rdesktop Michael Shigorin
2004-08-23 11:21         ` Alexey Novikov
2004-08-23 12:59           ` Alexey Novikov [this message]
2004-08-24  7:33             ` Alexey Novikov
2004-08-23 15:23           ` Michael Shigorin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4129EA21.000030.20234@camay.yandex.ru \
    --to=shader@yandex.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git