Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Supported unicode characters
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Rui Castro  
View profile  
 More options Nov 25 2008, 8:19 pm
From: "Rui Castro" <rui.cas...@gmail.com>
Date: Wed, 26 Nov 2008 01:19:14 +0000
Local: Tues, Nov 25 2008 8:19 pm
Subject: Supported unicode characters

Hi,
I'm trying to use some unicode characters (symbols) as the text for buttons,
but some characters appear as a box.

These characters appear ok:
↑ - &#x2191; (up arrow)
↓ - &#x2193; (down arrow)
← - &#x2190; (left arrow)
→ - &#x2192; (right arrow)

But, the next ones appear as a box!!!
↵ - &#x21B5; (down-left arrow)
↨ - &#x21A8; (up-down arrow with bottom line)

Is there a list of supported characters in Android?

Rui


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dan Bornstein  
View profile  
 More options Nov 25 2008, 8:24 pm
From: Dan Bornstein <danf...@android.com>
Date: Tue, 25 Nov 2008 18:24:12 -0700
Local: Tues, Nov 25 2008 8:24 pm
Subject: Re: Supported unicode characters

On Tue, Nov 25, 2008 at 6:19 PM, Rui Castro <rui.cas...@gmail.com> wrote:
> Is there a list of supported characters in Android?

You can find the fonts that are part of Android in
<frameworks/base/data/fonts> in the open source repository.

-dan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rui Castro  
View profile  
 More options Nov 25 2008, 10:14 pm
From: "Rui Castro" <rui.cas...@gmail.com>
Date: Wed, 26 Nov 2008 03:14:51 +0000
Local: Tues, Nov 25 2008 10:14 pm
Subject: Re: Supported unicode characters

Hi,

Thanks for the answer.
The characters I want to use are there, but when I use them a rectangle
appears where the character should be :(

I'm using the strings.xml to put the buttons text, like this:
<string name="arrow">&#x21A8;</string>

 and in the layout XML file I reference this text like this
<Button android:text="@string/arrow" ... />

I'm I doing something wrong? I suppose I'm not, because this method work
very well with the other characters.

Thanks,
Rui


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rui Castro  
View profile  
 More options Nov 26 2008, 6:40 pm
From: "Rui Castro" <rui.cas...@gmail.com>
Date: Wed, 26 Nov 2008 23:40:59 +0000
Local: Wed, Nov 26 2008 6:40 pm
Subject: Re: Supported unicode characters

Hi,

I'm sorry to insist on this, but I can't find an explanation for this
problem. The Droid Sans font, from Android framework, contains the unicode
character ⏏ (U+23CF), as the attached screenshot proves, but when I use it
as the text of a button (in the layout XML file with @android:text
attribute) what I see is a rectangle as you can see in the attached image.

Any ideias about this? What should I do?

  Screenshot-Character Map.png
72K Download

  Screenshot-Android Emulator (5554)_part.png
2K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rui Castro  
View profile  
 More options Nov 26 2008, 6:52 pm
From: "Rui Castro" <rui.cas...@gmail.com>
Date: Wed, 26 Nov 2008 23:52:55 +0000
Local: Wed, Nov 26 2008 6:52 pm
Subject: Re: Supported unicode characters

Hi,

Replying to myself, again, I noticed that the font used in the phone (the
emulator) is not the ones in <frameworks/base/data/fonts>.
The character ☎ (U+2603) appear differently in the character map and in the
actual application. See the attached pictures.

So, the question is, where is the default font used in the the phone
applications?

Thanks,
Rui

  Screenshot-Character Map-1.png
85K Download

  Screenshot-Android Emulator (5554)_call.png
2K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »