aboutsummaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
Diffstat (limited to 'TODO')
-rw-r--r--TODO23
1 files changed, 23 insertions, 0 deletions
diff --git a/TODO b/TODO
index cd2aa0e87..136aeb7b8 100644
--- a/TODO
+++ b/TODO
@@ -320,6 +320,29 @@ vdprintf() -> similar sized functionality
320 320
321Unicode work needed: 321Unicode work needed:
322 322
323Unicode support uses libc multibyte functions if LOCALE_SUPPORT is on
324(in this case, the code will also support many more encodings),
325or uses a limited subset of re-implemented multibyte functions
326which only understand "one byte == one char" and unicode.
327This is useful if you build against uclibc with locale support disabled.
328
329Unicode-dependent applets must call check_unicode_in_env() when they
330begin executing.
331
332Applet code may conditionalize on FEATURE_ASSUME_UNICODE
333in order to use more efficient code if unicode support is not requested.
334
335Available functions (if you need more, implement them in libbb/unicode.c
336so that they work without LOCALE_SUPPORT too):
337
338int bb_mbstrlen(str) - multibyte-aware strlen
339size_t mbstowcs(wdest, src, n)
340size_t wcstombs(dest, wsrc, n)
341size_t wcrtomb(str, wc, wstate)
342int iswspace(wc)
343int iswalnum(wc)
344int iswpunct(wc)
345
323Applets which only need to align columns on screen correctly: 346Applets which only need to align columns on screen correctly:
324 347
325ls - already done, use source as an example 348ls - already done, use source as an example