Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

21.2 When to Imbue a New Locale

A program cannot necessarily imbue a new locale on a stream or stream buffer at any particular time. Problems are likely if a new locale is imbued on a stream buffer with a state-dependent code conversion, since the buffer might very well be in the middle of a state-dependent conversion. In such a situation, the code conversion facet contained in the new locale would likely be at loose ends indeed. To avoid problems, follow these guidelines for imbuing locales:


Previous fileTop of DocumentContentsIndexNext file

OEM Edition, ©Copyright 1999, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.