ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacques Le Roux <jacques.le.r...@les7arts.com>
Subject Re: Create plugin / component fails with could not find resource bundle
Date Mon, 04 Nov 2019 14:51:21 GMT
Yes, it's a Windows encoding issue.

In such case I use the Scite editor which has a convenient Encoding option in File menu. Most
of the time encoding to UTF-8 with BOM works.

It exist also in Notepad++: https://community.notepad-plus-plus.org/topic/14355/encoding-without-bom-where/2

HTH

Jacques


Le 04/11/2019 à 14:37, Robert Wynkoop a écrit :
> I created a plugin/component called "helloWorld".
>
> The following message file was created(attached to this message):
> ofbiz\ofbiz-framework\plugins\helloWorld\config/HelloWorldUiLabels.xml
>
> In the generated labels file, my system only likes the lang="en" lines.
>        <value xml:lang="en">HelloWorld Application</value>
>         <value xml:lang="zh">HelloWorld应用程åº?</value>
>         <value xml:lang="zh-TW">HelloWorld應用程å¼?</value>
>
> I had this same problem when playing/testing with V16 also.  V16 was done on Java 8
u32, V18 was done on Java 8 u231.
>
> Could be a issue on my windows(8.1) system?  If I need too, I could try this on a Fedora
29 box.
>
> Thought this might be a simple know issue, possibly a config issue on my end.
>
> Robert Wynkoop
>
> On Sun, Nov 3, 2019 at 3:18 AM Jacques Le Roux <jacques.le.roux@les7arts.com <mailto:jacques.le.roux@les7arts.com>>
wrote:
>
>     Hi Robert,
>
>     What do you call "EN lines" and what is your "message file"
>
>     Thanks
>
>     Jacques
>
>     Le 03/11/2019 à 03:39, Robert Wynkoop a écrit :
>     > I created a test plugin / component.  Without making any changes when I
>     > tried to access it and get a resource bundle error.
>     >
>     > The log says: Invalid byte 3 of 3-byte UTF-8 sequence.
>     >
>     > Running release 18 branch.
>     >
>     > If I delete the non EN lines from the message file, it works.
>     >
>     > Local Dev environment is: Java 1.8 u231, Netbeans 8.2(for now)
>     >
>
>
>
> -- 
> Robert Wynkoop
> Google Voice: 314-380-0046 <tel:314-380-0046>
> Cell: 314-606-3079
> Home: 314-846-7638
>
> 2904 Woodbridge Estates Dr.
> Saint Louis, MO 63129


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message