carob encoding is flawed: requires an UTF8 locale + does not handle nulls
-------------------------------------------------------------------------

         Key: CAROB-49
         URL: https://forge.continuent.org/jira/browse/CAROB-49
     Project: Carob
        Type: Bug
  Components: C++ API  
    Reporter: Marc Herbert
 Assigned to: Marc Herbert 


To communicate with the controller, wstrings are converted from/to UTF8 using 
the default encoding functions from the C-library (like wcsrtombs), but those 
functions actually do convert to UTF8 ONLY if the current locale is an UTF8 
one. Else encoding errors occur.

Another issue is that these functions cannot handle nulls inside strings (It 
seems to currently trigger an OutOfMemory error on the controller).



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


_______________________________________________
Carob mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob

Reply via email to