English 中文(简体)
在文本编码索引目录中,地球上什么是MIB?
原标题:In the Text Encoding Converter API, what on earth is a MIB?

TEC (also known as Text Encoding Conversion Manager) has these APIs, declared in TextEncodingConverter.h:

extern OSStatus 
TECCopyTextEncodingInternetNameAndMIB(
  TextEncoding               textEncoding,
  TECInternetNameUsageMask   usage,
  CFStringRef *              encodingNamePtr,       /* can be NULL */
  SInt32 *                   mibEnumPtr)            /* can be NULL */ __OSX_AVAILABLE_STARTING(__MAC_10_3, __IPHONE_NA);

extern OSStatus 
TECGetTextEncodingFromInternetNameOrMIB(
  TextEncoding *             textEncodingPtr,
  TECInternetNameUsageMask   usage,
  CFStringRef                encodingName,
  SInt32                     mibEnum)                         __OSX_AVAILABLE_STARTING(__MAC_10_3, __IPHONE_NA);

The documentation in the header says that the MIB parameter… takes/returns a MIB enum value. But there s only one such enum defined: kTEC_MIBEnumDontCare. There are no others. (The documentation for the former function also notes that “valid MIB enums begin at 3”.)

头脑中没有任何东西界定了MIB(甚至不说这些信函的用意),而本年度的剩余 Apple果文件也没有解释过。 虽然命名为<条码>TECGetTextEncoding InternetName和TECGetTextEncodingFromInternetName的旧职能是: 文件,但使用CFStrings和采用/return a MIB的新功能是tn。

因此,地球上什么是?

问题回答

虽然在这些职能名称中,“MIB”被作为公证人使用,但它在职能文件中被更多地用作一种形容词,即“MIB'面值”。 这是一种微妙的cl。

而且,“MIB enum值”中的“enum”在“C enum”的意思中。 为什么没有界定其他内容(在 Apple果风格中,通常会有ef与这些内容相联系,例如TextEncoding,供它们自己的编码常数使用)。 该清单具有更通用的“定义编号清单”的含义,在这种情况下,该清单在其他地方存在。

MIB stands for Management Information Base, as explained by RFC 3808. The charset MIB enum values are defined by this IANA assignments list.

太平洋渔业委员会表示,这些是更广泛的管理信息基地的一个分支,涵盖更多的类别。 这段话被定义为Structure of Management Information,后者似乎属于很高的级别,出租车-全座。 从研究文本编码到阅读关于SMI的转变,就象为绘制地图绘制一份县地图。

正如技研中心的文件记录所示,有效的焦炭中型金价值始于3。 价值低于从未有效查扣的MIB enum值。

因此,所涉技研中心的职能可以产生一个核心服务>TextEncoding,从国际农研协会的编码名称或术语表,或反之,向您提供国际农研协会的名称和/或术语表,其价值最接近TextEncoding





相关问题
Message charset

How do I get the charset from javax.mail.Message object?

Adding "charset" to all ASP.NET MVC HTTP responses

Is there an easy way to specify all "normal" views is an ASP.NET MVC app are to have charset=utf-8 appended to the Content-Type? View() lacks an override that allows you to specify the Content-Type, ...

Iterating over string/strlen with umlauted characters

This is a follow-up to my previous question . I succeeded in implementing the algorithm for checking umlauted characters. The next problem comes from iterating over all characters in a string. I do ...

Special characters are not supported

I am having problem to display the special characters like ’, é in Firefox and IE. But these characters are supported for the local server. I have used the following <!DOCTYPE html PUBLIC "-...

找到一份所有编码的一览表。

我正在撰写一篇文章,试图将 by铁丝带入第2.6条的许多不同的编码。 是否有办法获得一份清单,列出我可以重复的可用编码?

Character Encodings in PHP and MySQL

Our website was developed with a meta tag set to... <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> This works fine for M-dashes and special quotes, etc. However, I ...

What text encoding to use?

I need to setup my PostgreSQL DB s text encoding to handle non-American English characters that you d find showing up in languages such as German, Spanish, and French. What character encoding should ...

Flash coding problem

I got some information in my Flash application from a php script. Flash displayed it as: Radioart=Mia Frejman - Ett hjärta - Ett Hjärta The string contain some Swedish symbols. How I can output ...

热门标签