TAILIEUCHUNG - ColdFusion Developer’s Guide phần 4

Ngoài ra các thẻ và các chức năng đặc biệt cho các ứng dụng toàn cầu hóa, bạn có thể tìm thấy hữu ích sau đây khi viết một ứng dụng toàn cầu hóa:Tất cả các chức năng thao tác chuỗi. Để biết thêm thông tin, xem danh sách các String chức năng trongChức năng | ADOBE COLDFUSION 8 346 ColdFusion Developer s Guide LSDateFormat Now mm dd yyyy br LSDateFormat Now d-mmm-yyyy br LSDateFormat Now ddd mmmm dd yyyy br LSDateFormat Now d m yy br LSDateFormat Now br hr noshade cfoutput cfloop body html Additional globalization tags and functions In addition to the tags and functions that are specifically for globalized applications you might find the following useful when writing a globalized application All string manipulation functions. For more information see the String functions list in ColdFusion Functions on page 636 in the CFML Reference. The GetTimeZoneInfo function which returns the time zone of the operating system. Handling data in ColdFusion Many of the issues involved with globalizing applications deal with processing data from the various sources supported by ColdFusion including the following General character encoding issues Locale-specific content Input data from URLs and HTML forms File data Databases E-mail HTTP LDAP WDDX COM CORBA Searching and indexing General character encoding issues Applications developed for earlier versions of ColdFusion that assumed that the character length of a string was the same as the byte length might produce errors in ColdFusion. The byte length of a string depends on the character encoding. ADOBE COLDFUSION 8 347 ColdFusion Developer s Guide I Locale-specific content The following sections provide information on how to handle locale-specific content in pages that support multiple locales and how to handle euro values. Generating multilocale content In an application that supports users in multiple locales and produces output that is specific to multiple locales you call the setLocale function in every request to set the locale for that specific request. When processing has completed the locale should be set back to its previous value. One useful technique is to save the user s desired locale in a Session variable once the user has selected it and use the Session variable value to

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.