Skip to content

Instantly share code, notes, and snippets.

View therbta's full-sized avatar
🎯
Focusing

Baris Taskiran therbta

🎯
Focusing
  • VT, United States
  • 02:47 (UTC -04:00)
  • X @therbta
View GitHub Profile
http://stackoverflow.com/questions/6467501/php-how-to-create-unicode-filenames
1
down vote
Using the com_dotnet PHP extension, you can access Windows' Scripting.FileSystemObject, and then do everything you want with UTF-8 files/folders names.
I packaged this as a PHP stream wrapper, so it's very easy to use :
https://github.com/nicolas-grekas/Patchwork-UTF8/blob/lab-windows-fs/class/Patchwork/Utf8/WinFsStreamWrapper.php
@therbta
therbta / sendinblue email by curl
Created October 9, 2021 15:26 — forked from ErMandeep/sendinblue email by curl
sendinblue email by curl
<?php
$data = array(
"sender" => array(
"email" => '[email protected]',
"name" => 'sender email'
),
"to" => array(