From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 1F738433DD for ; Thu, 9 Jun 2022 21:12:20 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 76A0568B7C5; Fri, 10 Jun 2022 00:12:18 +0300 (EEST) Received: from msg-6.mailo.com (ip-16.mailobj.net [213.182.54.16]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 298CC68B5FF for ; Fri, 10 Jun 2022 00:12:12 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailo.com; s=mailo; t=1654809131; bh=egSQQfanx5cm3vWDWx5l8YTtfZYdRm8qDuW7FZqBT6k=; h=X-EA-Auth:From:To:Date:Subject:MIME-Version:X-Mailer:Message-ID: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=ohLMa37WLV/0AHuSB+Jb6HZFaGx2tbHFeqBpUq2Lw6EkmfblOmjmmDEmAGlae1puI loqGEnS7RJF0m46c8bKq5G1onPfI9UV8jHRPyUfq+IO9DdIh/yBwDvFbIYOdAZbhHV nXlIMGeejW8aNZyWM/nALj4xqSGcF5DjCFc6zMpU= Received: by www-7.mailo.com with http webmail; Thu, 9 Jun 2022 23:12:11 +0200 (CEST) X-EA-Auth: eLzQpTqG4/iB5brCHBXHYNl21+HDAtlUSkJlVNpA3vBDo4/pjSSvv5IgALezPlmoikWz3NGARW087oeJVBxqXTN8wjqAznz+ From: nil-admirari@mailo.com To: ffmpeg-devel@ffmpeg.org Date: Thu, 9 Jun 2022 23:12:11 +0200 (CEST) X-Priority: 3 MIME-Version: 1.0 X-Mailer: COMS/EA21.01/r20220415 Message-ID: In-Reply-To: <3fd51d20-6a75-1699-c81b-cadf2264dd0@martin.st> Subject: Re: [FFmpeg-devel] [PATCH v12 1/4] libavutil/wchar_filename.h: Add whcartoutf8, wchartoansi and utf8toansi X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: > Right, I wasn't aware that the -A version would return a > guaranteed-ansi-compatible version of the filename. If that's really the > case, this patch would indeed be a minor step backwards. Two options are available: 1. fopen() is replaced with avpriv_fopen_utf8(), getenv() is made Unicode-aware on Windows, and wide version of get_module_filename() is used as it is now. 2. A wrapper around GetModuleFilenameA() created specifically for this case, only to be replaced later by option one, when avpriv_fopen_utf8() gets merged. If option one is chosen, the patch will have to wait for avpriv_fopen_utf8() patches. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".