Import Arabic subtitles as UTF-8
Arabic text must be decoded with the encoding that produced the file. Reading legacy encoded bytes as UTF-8 can corrupt letters before any timing repair begins. Caption Doctor accepts valid UTF-8 and rejects invalid byte sequences rather than guessing an encoding.
Before import
Keep the original. In an editor that recognizes its encoding, save a separate UTF-8 copy. Import that copy and compare Arabic letters against the original. If replacement characters already appear in the text, re-saving that damaged text does not recover the missing information.
The bom fixture tests a UTF-8 byte-order mark, which is retained. The crlf and cr fixtures test different line endings. Select Normalize line endings to LF only when you want that explicit change. A no-change export retains the input text exactly.
File size and content limits
The initial limit is 2 MB, measured as UTF-8 bytes rather than a character count. Arabic characters can occupy more than one byte. Oversized files receive an error; this tool does not silently truncate them.
Subtitle text is displayed as text. The malicious fixture includes an HTML image element with an event handler; the browser must show its literal characters rather than load the image or execute the handler. This protects the inspection surface, but exporting the text does not sanitize it for every other program. Review unexpected markup in your intended editor.
Tested examples: arabic,bom,crlf,cr,multiline,malicious. Original synthetic fixtures maintained with the tool.
استيراد الترجمة العربية بترميز UTF-8
يجب فك ترميز النص العربي بالترميز الذي أُنشئ به الملف. قد تتلف الحروف إذا قُرئت بايتات بترميز قديم على أنها UTF-8. تقبل الأداة UTF-8 الصحيح وترفض البايتات غير الصالحة دون تخمين.
قبل الاستيراد
احتفظ بالأصل واحفظ نسخة UTF-8 باستخدام محرر يتعرف على ترميزه. قارن الحروف العربية بعد الاستيراد. إذا كانت محارف الاستبدال موجودة بالفعل، فلن تستعيد إعادة الحفظ المعلومات المفقودة. تختبر bom علامة ترتيب بايتات UTF-8 وتُحفظ؛ وتختبر crlf وcr نهايات الأسطر. اختر توحيد LF فقط إذا أردته. يُحفظ النص تماماً عند التصدير بلا تغييرات.
حدود الحجم والمحتوى
الحد 2 ميغابايت محسوباً ببايتات UTF-8 لا بعدد الحروف. قد يشغل الحرف العربي أكثر من بايت. تُرفض الملفات الأكبر دون اقتطاعها. يُعرض نص الترجمة كنص؛ تتضمن malicious وسم صورة ومعالج حدث يجب عرضهما حرفياً دون تحميل الصورة أو تشغيل الكود. لا يعني ذلك أن الملف المُصدّر آمن في كل برنامج؛ افحص الوسوم غير المتوقعة في محررك.
Importer des sous-titres arabes en UTF-8
Le texte arabe doit être décodé avec l’encodage utilisé pour créer le fichier. Lire un ancien encodage comme UTF-8 peut corrompre les lettres. L’outil accepte l’UTF-8 valide et refuse les séquences incorrectes sans deviner l’encodage.
Avant l’import
Conservez l’original et enregistrez une copie UTF-8 dans un éditeur reconnaissant son encodage. Comparez les lettres après l’import. Réenregistrer un texte contenant déjà des caractères de remplacement ne restaure pas les informations perdues. bom teste la marque d’ordre des octets UTF-8, qui est conservée ; crlf et cr testent les fins de ligne. Choisissez LF uniquement si vous souhaitez cette modification. Un export sans changement conserve exactement le texte.
Limites de taille et de contenu
La limite de 2 Mo est mesurée en octets UTF-8, pas en caractères ; une lettre arabe peut occuper plusieurs octets. Les fichiers trop grands sont refusés sans être tronqués. Les sous-titres sont affichés comme du texte. malicious contient une balise image et un gestionnaire d’événement, qui doivent rester littéraux sans chargement ni exécution. Cela ne garantit pas la sécurité du fichier exporté dans tous les logiciels : examinez les balises inattendues dans votre éditeur.