OBJ Symbol Appears on Non-Apple Devices after iOS Voice Dictation

Hello,


I'm experiencing an issue with iOS voice dictation in a React Native app I'm developing. When users compose a post using voice dictation on iOS devices and submit it, an [OBJ] symbol appears at the end of the post but only when viewed on non-Apple devices. The symbol does not appear when the post is viewed on Apple devices. The app handles emojis and other UTF-8 text without any problem.


This isn't just happening with my app, it seems to happen with posts to other apps too when the post is composed using voice typing.


It seems like iOS voice dictation is appending a non-standard character or symbol at the end of the dictated text, which non-Apple devices are unable to render, resulting in the display of an OBJ symbol.


I have seen others talk about this in another thread but that one seems to be closed now.


Is there a recommended method for handling these characters in a cross-platform context to ensure consistent display across all devices?


Thanks

Posted on Jun 25, 2023 3:20 AM

Reply

Similar questions

6 replies

Jun 25, 2023 3:51 AM in response to s_t_harvey

Hello again,


I wanted to provide some additional details about how I am handling this issue - I've been removing the characters server-side using the following PHP function:


function removeUfffc($text) {
  $text = str_replace("\ufffc", "", $text);
  $text = str_replace("", "", $text);

  return $text;
}


This is a workaround rather than a solution, and I'm curious about why this issue is occurring in the first place.


Thanks

Jun 25, 2023 10:50 AM in response to MrHoffman

Thanks for taking the time to reply to me.


This doesn't appear to be an issue that is limited to React Native applications. From what I can tell this is an iOS issue where voice typing is inserting this non-standard character at the end of dictation - it's just not noticed very often because iOS/MacOS don't display these characters - so it is only noticed when a post that has been dictated using voice typing on iOS is viewed by a user on an Android or Windows device.


When I get a chance I'll create some examples using various other methods that don't involve React Native to demonstrate this issue.


This is happening quite widely, e.g.: https://discussions.apple.com/thread/254165340

Mar 29, 2024 7:38 PM in response to s_t_harvey

I'm not a developer. I'm an iPhone user. Thought this might be helpful:


If on Facebook using my iPhone, I dictate a comment for Facebook, and then see my comment on Facebook on a Windows computer (a non-Apple device, of course), I will see the OBJ symbol on the PC. But I don't see it if I view the Facebook comment on my phone.


My cumbesome workaround is this: After dictating the Facebook comment on my phone, I select all, delete and then paste the comment back into the comment space. Then, if you view the comment on a PC you won't see the OBJ symbol.


Sure wish Apple of Facebook would fix this so I wouldn't have to do this workaround.

Jun 25, 2023 10:17 AM in response to s_t_harvey

You might be using an iPhone or iPad or whatever, but you’re writing your app to a very different platform. Best use the React forums for assistance with and issues with React Native, and discuss this with the people familiar with and maintaining the platform you’re writing your apps for.


Here, React on iOS seemingly needs some updates.


And React familiarity around here is ~non-existent, based on the replies in recent years.


Mar 29, 2024 7:51 PM in response to Keezl

Keezl wrote:

I'm not a developer. I'm an iPhone user. Thought this might be helpful:

If on Facebook using my iPhone, I dictate a comment for Facebook,…


For issues with Facebook and its apps and services, please contact Facebook.


Even if this might be an Apple problem somewhere underneath React somewhere, Facebook is still best positioned to discuss it with Apple.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

OBJ Symbol Appears on Non-Apple Devices after iOS Voice Dictation

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.