Domain Name Forum  
Domain Name Coupons

Domain Name Forum

Domain Name Appraisals

Expired Domains

Domain Name Tutorials

Parking & Traffic Monetization

Domain Registration Reviews and rating

Domain Name Offers And Requests

Go Back   Domain Name Forum > Web Design & Development > Programming > Java
Register FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-17-2013, 10:44 PM
Jack Hard Jack Hard is offline
Junior Member
 
Join Date: Dec 2012
Posts: 11
Default js-ctypes string conversion

I am using js-ctypes to work with a shared library from Firefox under Linux.

Under certain circumstances when I am using the readString() method to convert an array of char in c to a string in javascript, I am getting the following error:

TypeError: malformed UTF-8 character sequence at offset 502

This happens when I have some special characters in the string, and as understand it is due to conversion problems. How can I bypass this? Has anybody met this problem and somehow resolved it?
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:32 PM.

| Webmaster Forum | | Domain Name Forum |



Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.