]> git.proxmox.com Git - mirror_edk2.git/commit
StdLib: Fix several problems where characters were not being correctly converted...
authordarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 5 Oct 2012 22:00:43 +0000 (22:00 +0000)
committerdarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 5 Oct 2012 22:00:43 +0000 (22:00 +0000)
commitc42c9cac8c289acc7af256e4578b116cbb576054
tree506cd5ccae6ccda1ec2574003acb54e969ec63b1
parente2a013fa404b095dbf4240fd122d6420021f848e
StdLib: Fix several problems where characters were not being correctly converted between wide and MBCS.
        Add utility functions for determining character length of strings.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: daryl.mcdaniel@intel.com
Reviewed-by: erik.c.bjorge@intel.com
Reviewed-by: lee.g.rosenbaum@intel.com
StdLib/LibC/
  Locale/multibyte_Utf8.c
    Improve comments.
    Define implementation-specific MBCS utility functions, as declared in <stdlib.h>.
    Enhance functionality of EncodeUtf8() and improve error handling.
    Set correct conversion state in wcrtomb().
    Bug fixes in wcsrtombs().
    Make wctob() properly MBCS compliant.

  Main/Main.c
    Remove code obsoleted by new wcsrtombs() implementation.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13785 6f19259b-4bc3-4df7-8a09-765794883524
StdLib/LibC/Locale/multibyte_Utf8.c
StdLib/LibC/Main/Main.c