> On 23/06/2016, at 5:29 AM, Steve Christensen wrote:
>
> Where are you specifying the text encoding of the HTML "document" passed to
> NSMutableAttributedString(HTML:, documentAttributes:)? The default encoding
> for HTML used to be ISO-8859-1, not UTF-8, for HTML 4 and
On Jun 22, 2016, at 4:01 PM, David Duncan wrote:
>
> IBOutlet is just a way to connect to instances created on the storyboard by
> Interface Builder.
AHA. And that is my tragic flaw. I had assumed that it was a way to connect
instances, not just solely instances that were created in the
On Jun 22, 2016, at 1:59 PM, David Duncan wrote:
>
>> On Jun 22, 2016, at 11:54 AM, Alex Zavatone wrote:
>>
>>
>> On Jun 22, 2016, at 10:51 AM, Alastair Houghton wrote:
>>
>>> On 22 Jun 2016, at 16:38, Alex Zavatone wrote:
>
> Is the thing that you’re
> On Jun 22, 2016, at 11:54 AM, Alex Zavatone wrote:
>
>
> On Jun 22, 2016, at 10:51 AM, Alastair Houghton wrote:
>
>> On 22 Jun 2016, at 16:38, Alex Zavatone wrote:
Is the thing that you’re missing that IBOutlets are nothing special;
they’re just
On Jun 22, 2016, at 10:51 AM, Alastair Houghton wrote:
> On 22 Jun 2016, at 16:38, Alex Zavatone wrote:
>>>
>>> Is the thing that you’re missing that IBOutlets are nothing special;
>>> they’re just a property (the syntax “IBOutlet” is there just to tell Xcode
>>> which things
Almost certainly not the font itself. Looks like classic mojibake. The
sequence which you seem to report, capital A circumflex, one-half might be
in the encoding ISO-8859-1 (aka Windows-1252 aka informally Latin1).
If so we have
c2 - capital A circumflex
bd - one half
But what is the UTF-8 form
Where are you specifying the text encoding of the HTML "document" passed to
NSMutableAttributedString(HTML:, documentAttributes:)? The default encoding for
HTML used to be ISO-8859-1, not UTF-8, for HTML 4 and earlier (and could
continue to be interpreted that way by NSAttributedString for
Since the symbol is outside the ASCII range and your output encoding is UTF-8,
that character requires 2 octets. Clearly, whatever application is reading the
file isn't using UTF-8 encoding. Switch that application to UTF-8 and the
character will display correctly.
Sent from my iPhone
> On
On Jun 22, 2016, at 09:32 , tridiak wrote:
>
> What I see is 'Aasimar CR ½’ instead of 'Aasimar CR ½’.
> Where is the ‘Â' coming from?
Well, the first thing you need to determine is whether this is the value of ’s’
itself, or the result of interpreting ’s’ as HTML.
I am setting some text to a NSTextView which includes the ‘½’ character.
s = name + “ CR "
switch (CR) {
case 0.5:
s=s+”½” // \u{00bd}
case 0.33:
s=s+"⅓"
case 0.25:
s=s+"¼"
case 0.2:
s=s+"⅕"
On 22 Jun 2016, at 16:38, Alex Zavatone wrote:
>>
>> Is the thing that you’re missing that IBOutlets are nothing special; they’re
>> just a property (the syntax “IBOutlet” is there just to tell Xcode which
>> things to show in the GUI editor). So you can set the property, just
On Jun 22, 2016, at 4:03 AM, Alastair Houghton wrote:
> On 21 Jun 2016, at 18:54, Alex Zavatone wrote:
>
>> So, I thought, "well, since I build these UIBarButtonItems from the
>> UIButtons in the first place, I'll just keep an additional dictionary of
>> buttons around that
On 21 Jun 2016, at 18:54, Alex Zavatone wrote:
> So, I thought, "well, since I build these UIBarButtonItems from the UIButtons
> in the first place, I'll just keep an additional dictionary of buttons around
> that then just swap them in and out of an iBOutlet slot in the
13 matches
Mail list logo