Back to index

lightning-sunbird  0.9+nobinonly
UMacUnicode.cpp File Reference
#include "UMacUnicode.h"
#include <TextCommon.h>
#include <Script.h>
#include "nsString.h"

Go to the source code of this file.


static TextEncoding getSystemEncoding ()

Function Documentation

static TextEncoding getSystemEncoding ( ) [static]

Definition at line 47 of file UMacUnicode.cpp.

    OSStatus err;
    TextEncoding theEncoding;
    err = ::UpgradeScriptInfoToTextEncoding(smSystemScript, kTextLanguageDontCare,
        kTextRegionDontCare, NULL, &theEncoding);
    if (err != noErr)
        theEncoding = kTextEncodingMacRoman;
    return theEncoding;

Here is the call graph for this function:

Here is the caller graph for this function: