public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Anas N. <Anas.N@nestgroup.net>
To: "newlib@sourceware.org" <newlib@sourceware.org>
Subject: RE: Adding support for gb2312 and sift-jis  to newlib iconv
Date: Sat, 15 Apr 2023 05:06:36 +0000	[thread overview]
Message-ID: <MAZPR01MB6928952A8A86D52F019E5261859E9@MAZPR01MB6928.INDPRD01.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <PNXPR01MB69155BF65AAD4CAD7FCF7A0D85EE9@PNXPR01MB6915.INDPRD01.PROD.OUTLOOK.COM>

[-- Attachment #1: Type: text/plain, Size: 2251 bytes --]

Hi Newlib team,


I have partially able to do for shift_jis by creating tables using
1. wget ftp://sourceware.org/pub/newlib/newlib-4.2.0.20211231.tar.gz
2. tar -xvf newlib-4.2.0.20211231.tar.gz
3. cd newlib/libc/iconv/ccs/

4. wget https://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/JIS/SHIFTJIS.TXT
5. ./mktbl.pl  -S SHIFTJIS.TXT
 6. cd ../ces/
 7. ./mkdeps.pl
It seems I need to handle more in the scenario when a string is mixed with English and Japanese


Regards,
Anas N
From: Anas N.
Sent: 24 December 2022 19:25
To: newlib@sourceware.org
Subject: Adding support for gb2312 and sift-jis to newlib iconv


Hi newlib team,
In the project I am working there is requirement to covert UCS2 to following code pages

1.       Chinese: gb2312
2.       Japanese: shift_ jis
3.       Russian : cp1251
4.       Hungrian, Polish and Cesky: cp1252
5.       Default:cp1250
I could see that items 3-5 are supported in newlib iconv library.

For gb2312  or gbk  I could see that it's supported in Cygwin-windows only. Is there a feasibility issue to support gb2312 for embedded cortex M controllers?

I can see Jis implementation in newlib and but is not available for Cygwin.Is It available for embedded   cortex M controllers?

What is the difference between jis and shit-jis

Thank & Regards,
Anas N

Disclaimer

The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.

This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast, a leader in email security and cyber resilience. Mimecast integrates email defenses with brand protection, security awareness training, web security, compliance and other essential capabilities. Mimecast helps protect large and small organizations from malicious activity, human error and technology failure; and to lead the movement toward building a more resilient world. To find out more, visit our website.

      parent reply	other threads:[~2023-04-15  5:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-24 13:54 Anas N.
2023-01-09 10:50 ` Corinna Vinschen
2023-04-15  5:06 ` Anas N. [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=MAZPR01MB6928952A8A86D52F019E5261859E9@MAZPR01MB6928.INDPRD01.PROD.OUTLOOK.COM \
    --to=anas.n@nestgroup.net \
    --cc=newlib@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).