I want to convert unicode string( get from XUL widget textfield ) to platform charset string. I found a function named nsPrimitiveHelpers :: ConvertUnicodeToPlatformPlainText in nsPrimitiveHelpers.cpp. But can i call it or anything alike from js? thanx.
