[Mesa-dev] [PATCH] intel: Change vendor string to "Intel(R) Open Source Technology Center".

Alan Coopersmith alan.coopersmith at oracle.com
Thu May 31 16:34:44 PDT 2012


On 05/31/12 04:28 PM, Roland Mainz wrote:
> On Fri, Jun 1, 2012 at 1:19 AM, Kenneth Graunke <kenneth at whitecape.org> wrote:
>>    switch (name) {
>>    case GL_VENDOR:
>> -      return (GLubyte *) "Tungsten Graphics, Inc";
>> +      return (GLubyte *) "Intel® Open Source Technology Center";
>>       break;
> 
> Uhm... isn't "®" a character outside the ASCII range ? Some compiles
> might choke on this, i.e. the Sun Workshop/Forte/Studio compilers
> require -xcsi ("... This option allows the C compiler to accept source
> code written in locales that do not conform to the ISO C source
> character code requirements. These locales include ja_JP.PCK ...") to
> avoid occasional hiccups.

I don't remember having any problems with the Studio compilers using UTF-8
characters, but they do break down if you use other encodings that appear
to cause invalid UTF-8 sequences.

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the mesa-dev mailing list