[FFmpeg-devel] [PATCH v14 4/5] libavformat: Remove MAX_PATH limit and use UTF-8 version of getenv()

Stephen Hutchinson qyot27 at gmail.com
Mon Jun 13 22:07:51 EEST 2022


On 6/13/22 2:55 PM, Hendrik Leppkes wrote:
> This seems unrelated to this patch, which is about removing the
> MAX_PATH limit. The code previously converted UTF-8 to ANSI, and still
> does so now, just without the MAX_PATH limit.
> Further improvements tangential to this topic can, and should, be
> applied independently, and not hold up this patch in discussion-hell
> for longer than necessary.
> 

Agreed.  As is stands, if a user finds that they need to open files that 
use non-ANSI characters in their filenames, they can always go into 
their Language settings and turn on UTF-8 for worldwide language 
support, which was just as true before the MAX_PATH-related patches. 
Honestly, Microsoft just needs to stop delaying it and make UTF-8 the 
default, and then we won't have this problem anymore.


More information about the ffmpeg-devel mailing list