DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 55BFp2em3792495 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 55BFp2em3792495 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=H0Fj4KBi X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7E5C33858C39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1749657060; bh=lDOVyaMAD8JhzeHqjjcedsstX5lPEnJ/aYhmRfPv7+Q=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=H0Fj4KBiTMAovhiGKSdmY9rptY8r/9i5Lngn86XR8q3bWEmEvyUosaaWKZRiqXNrW j/2ItizHuvtKbYiZd+oSVxL8NZwYZu3Ohmgq/V43h1SNeWAfuBNU3gxcxLQR1CqTj8 LmcSpp5GxzyIKbrG0WccKypdbShRnyGkZC2RHGwY= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D163D3858D26 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D163D3858D26 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1749656990; cv=none; b=H7ZpfcToGa8rlYswesCQM6VDSQvy4hJvhVznbuPkonmsZFSs55h19fU4APfZAkDi3llMZS6xDl2zywS5ljoa8pwQZNNwh2BAMyRWdBUA6JQoArZE9UcAy1WPR633q6UqIE4HbBaCCRpr/yWgIATrA9xrTlqqWWoEnlZrOQI9YWw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1749656990; c=relaxed/simple; bh=mjrSnDPgzus/DCdrCAyGeLYuLJN96OnLEqpuwzfkIow=; h=Message-ID:Date:MIME-Version:From:Subject:To:DKIM-Signature; b=WrbmmFbbW5+M7AYHVk3j1VgggVkn1LVKUtUi9Eio0JIwf333YVGZe+pBGHB0Q/bjj3rqXxjdY7WHLKenG+Z/p7VBULuhUvVplotmXLXHRyL20+BgMjF1DG7USReEXYI4+g0qWR1dKGHww6rAKp8E3aKwG3Pn7g04AxOjKxH+Fuc= ARC-Authentication-Results: i=1; server2.sourceware.org Message-ID: Date: Wed, 11 Jun 2025 09:49:47 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Character encoding used by LookupAccountSidA()? To: cygwin AT cygwin DOT com References: Content-Language: en-CA Organization: Systematic Software In-Reply-To: X-Rspamd-Queue-Id: BDDCD35 X-Stat-Signature: n18dttk458qsawhysij5hwebiyaofa3t X-Rspamd-Server: rspamout06 X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361 X-Session-ID: U2FsdGVkX1/LfxrGemz2CzwVPdcw1pxJfthuCITIuiE= X-HE-Tag: 1749656988-693578 X-HE-Meta: U2FsdGVkX19+B9qUROKmaF+8UntLs49y//NKg0MOmTEPHSQ3KSDZBjIrCi4XT8+i+h/o4BlILsIjQb7NWQUIlc7S1aDmG9CoBNkCVjqPUMr4qF/WsqqPpVAASt/RtVJoJRfLptpAOBV8zPbOv6vmaP05R9ijvSN3Xi8pQZf8DGDOY81Po5v7dBv0fUTxTYmsHjsmxQCUA0OmBECJj63Zmoyz7GJlkdxIIopgm1vTOMGbJBJyWjyUK58FPg7MpR9MdwVaAlF+Ev1SqEjDdZKN04vlBrM82aX3c02+icXji1qew7/fnTg5U8Ho0eX0uO7hZwU+Q9+rjWJlE8lRAyDX4k+/585SRzcqCP888EG+AfdRvMEKat+Zrg== X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Brian Inglis via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Brian Inglis Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 55BFp2em3792495 On 2025-06-11 00:49, Cedric Blancher via Cygwin wrote: > Which character encoding is used by LookupAccountSidA() (not > LookupAccountSidW())? > Is there a way to force a specific encoding, like UTF-8 or GB18030? Check MS: https://learn.microsoft.com/en-us/windows/win32/intl/conventions-for-function-prototypes -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retrancher but when there is no more to cut -- Antoine de Saint-Exupéry -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple