How about issues in porting to UTF-16 or UTF-32?
FAQ - Programming IssuesThere is no simple answer to that. The optimal solution depends on the nature of your application, the nature of the data it reads, and the nature of the APIs you are going to use. Assuming that your application currently reads and manipulates ASCII strings, the first thing to look at is the encoding form of Unicode you are going to use. [MD] & [MS]
Related QuestionsHow do I convert an unpaired UTF-16 surrogate to UTF-32?
FAQ - UTF-8, UTF-16, UTF-32 & BOMIf an unpaired surrogate is encountered when converting ill-formed UTF-16 data, any conformant converter must treat this as an error. By represented such an unpaired surrogate on its own, the resulting UTF-32 data stream would become ill-formed. While it faithfully reflects the nature of the input, Unicode conformance requires that encoding form conversion always results in valid data stream. [AF]
Related QuestionsWhat are the porting issues I need to watch out for with UTF-8?
FAQ - Programming IssuesIf you port to UTF-8, all code that does not try to interpret byte values greater than 0x7F will work, because ASCII and UTF-8 are identical up to 0x7F. However, watch for anything that truncates strings or buffers at places other than '\n' or '\0' or at space or syntax characters from the ASCII range. Truncations based on character counting are inherently dangerous, because UTF-8 is a multi-byte encoding. Also watch out for jumps into the middle of a string.
Related QuestionsWhat is UTF-32?
FAQ - UTF-8, UTF-16, UTF-32 & BOMAny Unicode character can be represented as a single 32-bit unit in UTF-32. This single 4 code unit corresponds to the Unicode scalar value, which is the abstract number associated with a Unicode character. UTF-32 is a subset of the encoding mechanism called UCS-4 in ISO 10646. For more information, see Section 3.9 “Unicode Encoding Forms” of The Unicode Standard. [AF]
Related QuestionsDoesn’t it cause a problem to have only UTF-16 string APIs, instead of UTF-32 char APIs?
FAQ - UTF-8, UTF-16, UTF-32 & BOMAlmost all international functions (upper-, lower-, titlecasing, case folding, drawing, measuring, collation, transliteration, grapheme-, word-, linebreaks, etc.) should take string parameters in the API, not single code-points (UTF-32). Single code-point APIs almost always produce the wrong results except for very simple languages, either because you need more context to get the right answer, or because you need to generate a sequence of characters to return the right answer, or both.
Related QuestionsFAQ - UTF-8, UTF-16, UTF-32 & BOMUTF-16 uses a single 16-bitcode unit to encode the most common 63K characters, and a pair of 16-bit code unites, called surrogates, to encode the 1M less commonly used characters in Unicode. Originally, Unicode was designed as a pure 16-bit encoding, aimed at representing all modern scripts. (Ancient scripts were to be represented with private-use characters.Related Questions
Unicode FAQUnicode was originally designed as a pure 16-bit encoding, aimed at representing all modern scripts. (Ancient scripts were to be represented with private-use characters.) Over time, and especially after the addition of over 14,500 composite characters for compatibility with legacy sets, it became clear that 16-bits were not sufficient for the user community. Out of this arose UTF-16. UTF-16 allows access to 63K characters as single Unicode 16-bit units.Related Questions
What is "porting"?
Frequently asked questionsThe activity of moving a phone number from one carrier to another is called porting. So, when you bring your number to Fido you will be "porting in" to Fido. Customers switching from their previous carrier will be "porting out" for that carrier. You will see "porting" referred to as "transferring" or "bringing" your number.
Related QuestionsNashua Mobile Portal :: Portability FAQ's :: publi...This is the term used to describe the actual transferring of your phone number and services from one Service Provider or Network Operator or both to another. You will still be bound to your outstanding contractual obligations with your current Service Provider.Related Questions
Rogers.com - Local Number Portability - FAQsThe activity of moving a phone number from one carrier to another is called porting. So, when you bring your number to Rogers you will be "porting in" to Rogers. Customers switching from their previous carrier will be "porting out" for that carrier. You will see "porting" referred to as "transferring" or "bringing" your number.Related Questions
What is 'Porting'?
FLR SpectronNumber Porting means that you can request the transfer of an existing NGN from the company that currently delivers your inbound calls, to an alternative supplier providing they have a porting agreement in place with your existing supplier.
Related QuestionsSavvytel - Prepaid Mobile Deals - Phone cards - Call Credits...Porting (Mobile Number Portability) is the ability to move to another phone provider without changing your existing number.Related Questions
How about converting to UTF-32?
FAQ - Programming IssuesIf your platform or i18n library supports UTF-32 (4-byte) characters, then, for similar reasons, you might want to use them instead of UTF-16. Generally, the simplest approach is to match your basic character and string datatype to that used by the APIs you need to call. However, UTF-32 is often a poor choice for high performance, since (on average) only half as many characters will fit your processor cache. Many libraries, such as ICU or Java 5, use a hybrid approach.
Related QuestionsSubject: 3.17 What are the known issues with porting BSD-based programs to HP-UX?
Mike Peterson <system@alchemy.chem.utoronto.ca> periodically posts his list of BSD-HP tricks to comp.sys.hp.hpux. It is also archived on the InterWorks FTP site (mentioned above) as "hptricks".
Related QuestionsHow do I start porting software to Cygwin/X?
Cygwin/X Frequently Asked QuestionsCygwin/X provides a software interface that is very similar to the software interface provided by GNU/Linux and other UNIX systems. Most software packages will compile on Cygwin/X without any changes at all. To begin with, try to compile a given software package following that package's compilation instructions for GNU/Linux.
Related QuestionsQ#9.3: Are there any other recommendations for porting programs?
news.answers/apple2/GNO-faqA#9.3: There probably are as many opinions as there are programmers. However, here is a list that seems to work well. Using C as the source language is assumed: - Use the occ(1) "-w" flag (#pragma lint -1) whenever possible. You will have to modify your code if it doesn't use prototypes, but this is more likely to catch errors and incorrect assumptions. If you really need to be compatible with K&R compilers, you can use the following paradigm in your code: #include <sys/cdefs.
Related QuestionsWhat do you mean by porting?
CallstreamTo enable Callstream to offer our bespoke service it is necessary to “move” your number into our account. This porting does not change the fact that you still own your number and can re-port later if required
Related QuestionsWhat are the advantages of porting?
Nashua Mobile Portal :: Portability FAQ's :: publi...The main benefit is the freedom to choose your Network Operator or Service Provider without losing your cell phone number. Thus you may choose a new Service Provider or Network Operator who offers services, which your current Service Provider does not offer.
Related QuestionsWhat are the disadvantages of porting?
Nashua Mobile Portal :: Portability FAQ's :: publi...Your call rates may be affected although the beep functionality should assist with notifying you of off Network calls. You will not be able to port with a Network-locked cell phone unless it is unlocked beforehand. Alternatively you will need to obtain a new cell phone with the port. You will lose your cell phone warrantee if it is used on a different Network to the one on which it was originally activated, unless as with Cell C, you have moved back to the originating Network.
Related QuestionsWhat is Portability (porting)?
What is PortabilityThe Section 8 Housing Voucher Program contains provisions wherein a Section 8 Participant may transfer from one jurisdiction or City to another jurisdiction, i.e., transfer from the Brevard County Section 8 Program to the Orlando Housing Authority Section 8 Program. This transfer to another jurisdiction is called "port, portable family or porting."
Related QuestionsWhat is the difference between UTF-8, UTF-16?
ISOUTF-8 uses variable byte to store a Unicode. In different code range, it has its own code length, varies from 1 byte to 6 bytes. Because it varies from 8 bits (1 byte), it is so called "UTF-8". UTF-8 is suitable for using on Internet, networks or some kind of applications that needs to use slow connection. Unicode (or UCS) Transformation Format, 16-bit encoding form.
Related QuestionsWhen would using UTF-16 be the right approach?
FAQ - Programming IssuesIf the APIs you are using, or plan to use, are UTF-16 based, which is the typical case, then working with UTF-16 directly is likely your best bet. Converting data for each individual call to an API is difficult and inefficient, while working around the occasional character that takes two 16-bit code units in UTF-16 is not particularly difficult (and does not have to be expensive). [MD] & [MS]
Related QuestionsHow about using UTF-32 interfaces in my APIs?
FAQ - UTF-8, UTF-16, UTF-32 & BOMExcept in some environments that store text as UTF-32 in memory, most Unicode APIs are using UTF-16. With UTF-16 APIs the low level indexing is at the storage or code unit level, with higher-level mechanisms for graphemes or words specifying their boundaries in terms of the code units. This provides efficiency at the low levels, and the required functionality at the high levels. If its ever necessary to locate the nth character, indexing by character can be implemented as a high level operation.
Related QuestionsUnicode FAQGiven an internal UTF-16 storage, you can, of course, still index into text using UTF-32 indices. However, while converting from a UTF-32 index to a UTF-16 index or vice versa is fairly straightforward, it does involve a scan through the 16-bit units up to the index point. In a test run, for example, accessing UTF-16 storage as UTF-32 characters results in a 10X degradation.Related Questions
Do you have any how-to porting instruction ?
VFS FAQ - FlagShip Frequently Asked Support QuestionsYes, please read section LNG.9.6 for Linux or LNG.9.7 for MS-Windows in the on-line manual fsman (or in the PDF manual) for step-by-step description. Additional info is available in <FlagShip_dir>/docu/how-to* documents where the <FlagShip_dir> is your installation path.
Related QuestionsHow about Mac? Porting?
RatDVD.CA - F.A.Q.Well, again I have to say it sounds intriguing but Mac is totally unknown to me. But hey, if there are people who are interested in it and I get a little more time, why not - although I fear thiswill be more a rewrite than a port ( see here, why ).
Related Questions