SAS 9.1 National Language Support (NLS) User’s Guide
Original Publication Date: 2004-Jan-31
Included in the Prior Art Database: 2015-Sep-18
SAS Institute Inc.
Page 01 of 448
National Language Support (NLS)
Page 02 of 448
The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2004. SAS ® 9.1 National Language Support (NLS): User's Guide. Cary, NC: SAS Institute Inc.
SAS® 9.1 National Language Support (NLS): User's Guide
Copyright © 2004, SAS Institute Inc., Cary, NC, USA
All rights reserved. Produced in the United States of America. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, or otherwise, without the prior written permission of the publisher, SAS Institute Inc.
U.S. Government Restricted Rights Notice. Use, duplication, or disclosure of this software and related documentation by the U.S. government is subject to the Agreement with SAS Institute and the restrictions set forth in FAR 52.227-19 Commercial Computer Software-Restricted Rights (June 1987).
SAS Institute Inc., SAS Campus Drive, Cary, North Carolina 27513.
1st printing, January 2004
SAS Publishing provides a complete selection of books and electronic products to help customers use SAS software to its fullest potential. For more information about our e-books, e-learning products, CDs, and hard-copy books, visit the SAS Publishing Web site at support.sas.com/pubs or call 1-800-727-3228.
SAS® and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
Other brand and product names are registered trademarks or trademarks of their respective companies.
Page 03 of 448
P A R T 1 NLS Concepts 1 Chapter 1
4 National Language Support (NLS) 3 Overview to National Language Support 3 Definition of Localization and Internationalization 4
4 Locale for NLS 5
Overview of Locale Concepts for NLS 5
Specifying a Locale 6
Interaction between the LOCALE= and ENCODING= System Options 7
4 Encoding for NLS 9
Overview of Encoding for NLS 9
Difference between Encoding and Transcoding 12
Character Sets for Encoding in NLS 12
Common Encoding Methods 12
Standards Organizations for NLS Encodings 14
Code Point Discrepancies among EBCDIC Encodings 15
Collation Sequence 16
Determining the Encoding of a SAS Session and a Data Set 16
Default SAS Session Encoding 18
Setting the Encoding of a SAS Session 18
Encoding Behavior in a SAS Session 19
4 Transcoding for NLS 21
Overview to Transcoding 21
Common Reasons for Transcoding 21
Transcoding and Translation Tables 22
SAS Options That Transcode SAS Data 23
Transcoding between Operating Environments 23
Transcoding Considerations 24
Compatible and Incompatible Encodings 25
Preventing Transcoding 26
4 Double-Byte Character Sets (DBCS) 29 Overview to Double-Byte Character Sets (DBCS) 29
East Asian Languages 29
Specifying DBCS 30
Requirements for Displaying DBCS Character Sets 30