UUencode / UUdecode
رمّد النص أو البيانات الثنائية بصيغة UUencode، أو فك ترميز كتل UUencode إلى الأصل.
UUencoding is one of the oldest binary-to-text encodings in the Unix world, developed in the early 1980s to transfer binary files over UUCP (Unix-to-Unix Copy) networks that could only handle ASCII text. You will encounter it in old Usenet archives, legacy shell scripts, and source code that predates MIME. Understanding UUencode is essential for working with historical Unix data.
This tool encodes text or binary data to UUencode format — complete with the `begin` and `end` markers and permission mode that define a valid UU file — and decodes UUencoded blocks back to their original content. Useful for preserving or migrating legacy archive content, analysing old mail archives, and understanding how binary transfer worked before Base64 became universal.
كيف تُرمّز وتفك ترميز UUencode على الإنترنت
- 1
الصق الإدخال
الصق نصًا أو إدخالًا ثنائيًا لترميزه ككتلة UUencode، أو الصق كتلة UUencode موجودة (بما فيها أسطر begin وend) لفك ترميزها.
- 2
الترميز أو فك الترميز
تُولّد الأداة أو تُحلل صيغة علامات begin/end وتتحقق من بنية الكتلة.
- 3
انسخ النتيجة
انسخ الكتلة المُرمَّدة أو المحتوى المُفكَّك. مفيد لأرشيفات البريد القديمة وبيانات Usenet وتحديات CTF.
How UUencoding Works
UUencoding converts three input bytes (24 bits) into four output characters, similar to Base64, but uses a different 64-character alphabet. Each 6-bit group is mapped to an ASCII character by adding 32 to its value, putting output characters in the range 32–95 (space through underscore). Each output line is preceded by a length character — the number of bytes encoded on that line plus 32 — allowing the decoder to determine exactly how many bytes each line represents.
A UUencoded file begins with `begin MODE FILENAME` where MODE is the Unix file permission octet and FILENAME is the original filename, and ends with a line containing a grave accent (`` ` ``) followed by `end`. The filename and permissions are part of the encoding, which makes UUencode slightly richer in metadata than Base64, though this advantage is rarely useful today.
لماذا تستخدم أداة UUencode/UUdecode من FileCrank؟
- ✓ يُولّد ويُحلل صيغة علامات begin/end الصحيحة.
- ✓ يتحقق من بنية الكتلة ويُبلّغ عن الأخطاء بوضوح.
- ✓ يتعامل مع مرفقات UUencode في البريد القديم و Usenet.
- ✓ يعمل بالكامل في المتصفح — لا تُرسل بيانات إلى أي خادم.
الميزات والمواصفات
الأسئلة الشائعة
ما هو UUencode؟
يُحوّل UUencode (ترميز Unix-to-Unix) البيانات الثنائية إلى ASCII قابل للطباعة للنقل عبر القنوات النصية فقط. يُرمَّد كل مجموعة من 3 بايتات كـ 4 أحرف قابلة للطباعة. يبدأ ملف UUencode بسطر begin [الصلاحيات] [اسم الملف] وينتهي بسطر end.
هل لا يزال UUencode مستخدمًا اليوم؟
نادرًا، لكنه لا يزال يظهر في أرشيفات البريد القديمة ومنشورات Usenet القديمة وأحيانًا في تحديات أمان CTF. البريد الحديث يستخدم MIME مع ترميز Base64.
ما الفرق بين UUencode وBase64؟
كلاهما يُحوّل الثنائي إلى ASCII قابل للطباعة لكنهما يستخدمان مجموعات أحرف وتنسيقات أسطر مختلفة. يستخدم UUencode أحرفًا بقيم ASCII 32–95. يستخدم Base64 أحرف A–Z وa–z و0–9 و+ و/. يتضمن UUencode رؤوس begin/end؛ Base64 عادةً لا يفعل.
كتلة UUencode تعطي خطأ في فك الترميز — ما المشكلة؟
المشاكل الشائعة: سطر begin أو end مفقود، أحرف طول السطر تالفة (الحرف الأول من كل سطر يُرمّد طول السطر)، أو أحرف غير قابلة للطباعة أُدخلت بسبب تحويل نهاية السطر. الصق الكتلة الدقيقة بما فيها أسطر begin وend.
UUencode vs. Base64 vs. MIME
UUencode is historically significant but obsolete for new work. Base64 is strictly superior: it is more widely implemented, has a cleaner alphabet that avoids the space character (which caused corruption in some mail systems), and is defined in MIME standards that every modern email client and HTTP library understands. Use this tool to read legacy data rather than to produce new encodings — for any new binary-to-text need, Base64 is the right choice.
أدوات ذات صلة
ترميز Base64 وفك ترميزه
رمّز النص أو البيانات الثنائية بتنسيق Base64، أو فك ترميز سلاسل Base64 إلى نص عادي، فورًا في متصفحك.
ترميز Quoted-Printable وفك ترميزه
رمّد النص بصيغة Quoted-Printable للبريد MIME، أو فك ترميز سلاسل QP المشفرة.
bin2hex
حوّل البيانات الثنائية إلى سلاسل hex والعكس على مستوى البايت — مثل دالتي PHP bin2hex() وhex2bin().
أداة UUencode/UUdecode من FileCrank تُرمّد وتُفكّك ترميز كتل UUencode بما فيها صيغة علامات begin/end، مفيدة لأرشيفات البريد القديمة و Usenet وتحديات CTF.
Advertisement