From 27d9cdd21b49f5cf936a37e278bf5ccc44a0c6a5 Mon Sep 17 00:00:00 2001 From: lacatoire Date: Tue, 12 May 2026 12:59:29 +0200 Subject: [PATCH 1/3] [Sync EN] mbstring: mb_detect_encoding, mb_list_encodings, mb_http_input, mb_http_output, book.xml, overloading.xml --- reference/mbstring/book.xml | 4 +- .../mbstring/functions/mb-detect-encoding.xml | 53 +++++++++++++++---- .../mbstring/functions/mb-http-input.xml | 17 +++++- .../mbstring/functions/mb-http-output.xml | 18 ++++++- .../mbstring/functions/mb-list-encodings.xml | 5 +- reference/mbstring/overloading.xml | 8 +-- 6 files changed, 84 insertions(+), 21 deletions(-) diff --git a/reference/mbstring/book.xml b/reference/mbstring/book.xml index f7603de8a..0689f45fd 100644 --- a/reference/mbstring/book.xml +++ b/reference/mbstring/book.xml @@ -1,6 +1,6 @@ - - + + Çok Baytlı Dizgeler Mbstring diff --git a/reference/mbstring/functions/mb-detect-encoding.xml b/reference/mbstring/functions/mb-detect-encoding.xml index 07707ff46..ae72b6ede 100644 --- a/reference/mbstring/functions/mb-detect-encoding.xml +++ b/reference/mbstring/functions/mb-detect-encoding.xml @@ -1,5 +1,5 @@ - + mb_detect_encoding @@ -15,9 +15,15 @@ boolkatı&false; - Sıralı adaylar listesinden string türündeki + Adaylar listesinden string türündeki dizge için en uygun karakter kodlamasını saptar. + + PHP 8.1 itibariyle, bu işlev belirtilen listedeki geçerli metin + kodlamalarından hangisinin doğru olma olasılığının en yüksek olduğunu + belirlemek için sezgisel yöntemler kullanır ve sonuç, belirtilen + kodlamalar sırasında olmayabilir. + Amaçlanan karakter kodlamasının otomatik tespiti hiçbir zaman tamamen güvenilir olamaz; bazı ek bilgiler olmadan, şifrelenmiş bir dizenin @@ -28,8 +34,19 @@ Bu işlev, tüm bayt dizilerinin geçerli bir dizge oluşturmadığı çok baytlı kodlamalarda çok yararlıdır. Belirtilen dizge böyle bir dizi içeriyorsa, bu - kodlama reddedilecek ve sonraki kodlamaya bakılacaktır. + kodlama reddedilecektir. + + + Sonuç doğru değildir + + Bu işlevin adı yanıltıcıdır; "algılama" yerine "tahmin" yapar. + + + Yapılan tahminler doğruluktan uzaktır, bu nedenle bu işlevle doğru + karakter kodlamasını güvenilir biçimde algılamak mümkün değildir. + + @@ -49,8 +66,8 @@ kodlamalar ile denenecek karakter - kodlamalarının listesi belirtilir. Algı sırası bir dizeler dizisi veya - virgül ayraçlı bir liste olarak belirtilebilir. + kodlamalarının listesi belirtilir. Liste bir dizeler dizisi veya + virgül ayraçlı tek bir dizge olarak belirtilebilir. kodlamalar atlanırsa veya &null; ise, @@ -121,14 +138,17 @@ ]]> + &example.outputs; + + + @@ -200,8 +229,9 @@ string(10) "ISO-8859-1" @@ -212,6 +242,7 @@ var_dump(mb_detect_encoding($str, ['ISO-8859-5', 'UTF-8', 'ISO-8859-1'])); diff --git a/reference/mbstring/functions/mb-http-input.xml b/reference/mbstring/functions/mb-http-input.xml index 2dafc6168..fc2682208 100644 --- a/reference/mbstring/functions/mb-http-input.xml +++ b/reference/mbstring/functions/mb-http-input.xml @@ -1,6 +1,6 @@ - + mb_http_input @@ -52,6 +52,14 @@ + + &reftitle.errors; + + tür geçersizse bir + ValueError yavrulanır. + + + &reftitle.changelog; @@ -63,6 +71,13 @@ + + 8.4.0 + + tür geçersizse mb_http_input + artık bir ValueError yavruluyor. + + 8.0.0 diff --git a/reference/mbstring/functions/mb-http-output.xml b/reference/mbstring/functions/mb-http-output.xml index cc1f01ea9..4f5507e81 100644 --- a/reference/mbstring/functions/mb-http-output.xml +++ b/reference/mbstring/functions/mb-http-output.xml @@ -1,6 +1,6 @@ - + mb_http_output @@ -48,6 +48,14 @@ + + &reftitle.errors; + + kodlama NUL baytları içeriyorsa bir + ValueError yavrulanır. + + + &reftitle.changelog; @@ -59,6 +67,14 @@ + + 8.4.0 + + kodlama NUL baytları içeriyorsa + mb_http_output artık bir + ValueError yavruluyor. + + &mbstring.changelog.encoding-nullable; diff --git a/reference/mbstring/functions/mb-list-encodings.xml b/reference/mbstring/functions/mb-list-encodings.xml index fd3297a66..cbba32706 100644 --- a/reference/mbstring/functions/mb-list-encodings.xml +++ b/reference/mbstring/functions/mb-list-encodings.xml @@ -1,5 +1,5 @@ - + mb_list_encodings @@ -14,7 +14,8 @@ - Desteklenen kodlamaların tamamını içeren bir dizi döndürür. + Desteklenen kodlamaların + tamamını içeren bir dizi döndürür. diff --git a/reference/mbstring/overloading.xml b/reference/mbstring/overloading.xml index 52b0c75fc..4b17efce4 100644 --- a/reference/mbstring/overloading.xml +++ b/reference/mbstring/overloading.xml @@ -1,10 +1,10 @@ - + İşlevlerin Aşırı Yüklenme Özelliği - - &warn.deprecated.feature-7-2-0.removed-8-0-0; - + + &warn.deprecated.feature-7-2-0.removed-8-0-0; + Genellikle, çalışan bir PHP uygulamasını çok baytlı bir ortamda çalışır duruma getirmek çoğu kişiye zor gelir. Bu durum genellikle çok baytlı kodlanmış From 214b900f95407759b301c51467079c85464b2411 Mon Sep 17 00:00:00 2001 From: lacatoire Date: Tue, 12 May 2026 12:55:55 +0200 Subject: [PATCH 2/3] [Sync EN] mbstring: mb_strrchr, mb_strrichr, mb_split, mb_str_split, mb_encode_mimeheader, mb_decode_mimeheader --- .../functions/mb-decode-mimeheader.xml | 27 ++++++++++++++++++- .../functions/mb-encode-mimeheader.xml | 10 ++++++- reference/mbstring/functions/mb-split.xml | 3 ++- reference/mbstring/functions/mb-str-split.xml | 7 +++-- reference/mbstring/functions/mb-strrchr.xml | 2 +- reference/mbstring/functions/mb-strrichr.xml | 2 +- 6 files changed, 44 insertions(+), 7 deletions(-) diff --git a/reference/mbstring/functions/mb-decode-mimeheader.xml b/reference/mbstring/functions/mb-decode-mimeheader.xml index 38602bc14..ba4b07acc 100644 --- a/reference/mbstring/functions/mb-decode-mimeheader.xml +++ b/reference/mbstring/functions/mb-decode-mimeheader.xml @@ -1,6 +1,6 @@ - + mb_decode_mimeheader @@ -42,6 +42,31 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 8.3.0 + + RFC 2047 ile belirtildiği + gibi altçizgi imleri boşluklara dönüştürülüyor. + + + + + + + + &reftitle.seealso; diff --git a/reference/mbstring/functions/mb-encode-mimeheader.xml b/reference/mbstring/functions/mb-encode-mimeheader.xml index 4caecab3f..8ce9258c6 100644 --- a/reference/mbstring/functions/mb-encode-mimeheader.xml +++ b/reference/mbstring/functions/mb-encode-mimeheader.xml @@ -1,5 +1,5 @@ - + mb_encode_mimeheader @@ -102,6 +102,14 @@ + + 8.3.0 + + Quoted-Printable kodlaması kullanılırken + NUL (0) baytları artık atılmıyor, + =00 olarak kodlanıyor. + + 8.0.0 diff --git a/reference/mbstring/functions/mb-split.xml b/reference/mbstring/functions/mb-split.xml index bfba7b1fd..200737cc6 100644 --- a/reference/mbstring/functions/mb-split.xml +++ b/reference/mbstring/functions/mb-split.xml @@ -1,6 +1,6 @@ - + mb_split @@ -74,6 +74,7 @@ mb_regex_encoding mb_ereg + explode diff --git a/reference/mbstring/functions/mb-str-split.xml b/reference/mbstring/functions/mb-str-split.xml index 0e4c9dc42..aa426cb3b 100644 --- a/reference/mbstring/functions/mb-str-split.xml +++ b/reference/mbstring/functions/mb-str-split.xml @@ -1,5 +1,5 @@ - + mb_str_split @@ -50,7 +50,8 @@ &mbstring.encoding.parameter; - Desteklenen kodlamalardan birini içeren bir dizge. + Desteklenen kodlamalardan + birini içeren bir dizge. @@ -93,6 +94,8 @@ str_split + grapheme_str_split + explode diff --git a/reference/mbstring/functions/mb-strrchr.xml b/reference/mbstring/functions/mb-strrchr.xml index 1749f1e9b..7263f68ca 100644 --- a/reference/mbstring/functions/mb-strrchr.xml +++ b/reference/mbstring/functions/mb-strrchr.xml @@ -1,5 +1,5 @@ - + diff --git a/reference/mbstring/functions/mb-strrichr.xml b/reference/mbstring/functions/mb-strrichr.xml index d0604f89a..284b18a80 100644 --- a/reference/mbstring/functions/mb-strrichr.xml +++ b/reference/mbstring/functions/mb-strrichr.xml @@ -1,5 +1,5 @@ - + From c6c9aab364b61aec5335582b3b3274d269f3ca70 Mon Sep 17 00:00:00 2001 From: lacatoire Date: Tue, 12 May 2026 13:00:40 +0200 Subject: [PATCH 3/3] [Sync EN] mbstring: constants.xml, ini.xml --- reference/mbstring/constants.xml | 2 +- reference/mbstring/ini.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/mbstring/constants.xml b/reference/mbstring/constants.xml index 2b5e2e4bb..80215a6a8 100644 --- a/reference/mbstring/constants.xml +++ b/reference/mbstring/constants.xml @@ -1,6 +1,6 @@ - + &reftitle.constants; &extension.constants; diff --git a/reference/mbstring/ini.xml b/reference/mbstring/ini.xml index d01663eb0..bfc181e36 100644 --- a/reference/mbstring/ini.xml +++ b/reference/mbstring/ini.xml @@ -1,5 +1,5 @@ - +
&reftitle.runtime; &extension.runtime;